mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 22:09:24 +08:00
parent
211f54f4b1
commit
622e1766c1
|
@ -77,8 +77,9 @@ METHOD if_http_service_extension~handle_request.
|
|||
WHEN 'GET' THEN z2ui5_cl_fw_http_handler=>http_get( )
|
||||
WHEN 'POST' THEN z2ui5_cl_fw_http_handler=>http_post( request->get_text( ) ) ).
|
||||
|
||||
response->set_status( 200 )->set_text( lv_resp
|
||||
)->set_header_field( i_name = `cache-control` i_value = `no-cache` ).
|
||||
response->set_header_field( i_name = `cache-control` i_value = `no-cache` ).
|
||||
response->set_text( lv_resp ).
|
||||
response->set_status( 200 ).
|
||||
|
||||
ENDMETHOD.
|
||||
```
|
||||
|
|
|
@ -283,7 +283,7 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
|
|||
` sap.z2ui5.oBody.EDIT = sap.z2ui5.oViewPopover.getModel().getData().EDIT;` && |\n| &&
|
||||
` isUpdated = true;` && |\n| &&
|
||||
` sap.z2ui5.oBody.VIEWNAME = 'MAIN';` && |\n| &&
|
||||
` } } } }` && |\n| &&
|
||||
` } } sap.z2ui5.oViewPopover.destroy(); } }` && |\n| &&
|
||||
` if (isUpdated == false){` && |\n| &&
|
||||
` if (sap.z2ui5.oViewNest == this.getView() ) {` && |\n| &&
|
||||
` sap.z2ui5.oBody.EDIT = sap.z2ui5.oViewNest.getModel().getData().EDIT;` && |\n| &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user