mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 20:46:17 +08:00
nested views (#340)
This commit is contained in:
parent
65b6e2e7e0
commit
f055295954
|
@ -27,7 +27,7 @@ ENDCLASS.
|
|||
|
||||
|
||||
|
||||
CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
||||
CLASS Z2UI5_CL_HTTP_HANDLER IMPLEMENTATION.
|
||||
|
||||
|
||||
METHOD http_get.
|
||||
|
@ -142,7 +142,7 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
|||
` oView.setModel(new sap.ui.model.json.JSONModel(sap.z2ui5.oResponse.OVIEWMODEL));` && |\n| &&
|
||||
` var oParent = sap.z2ui5.oView.byId(sap.z2ui5.oResponse.PARAMS.S_VIEW_NEST.ID);` && |\n| &&
|
||||
` // oParent.addContent(oView);` && |\n| &&
|
||||
` oParent[ sap.z2ui5.oResponse.PARAMS.S_VIEW_NEST.METHOD_DESTROY ]();` && |\n| &&
|
||||
` try { oParent[ sap.z2ui5.oResponse.PARAMS.S_VIEW_NEST.METHOD_DESTROY ](); } catch (e) {}` && |\n| &&
|
||||
` // oParent.removeAllMidColumnPages();` && |\n| &&
|
||||
` oParent[ sap.z2ui5.oResponse.PARAMS.S_VIEW_NEST.METHOD_INSERT ](oView);` && |\n| &&
|
||||
` // oParent.addMidColumnPage(oView);` && |\n| &&
|
||||
|
|
|
@ -60,8 +60,7 @@ INTERFACE z2ui5_if_client
|
|||
val TYPE clike
|
||||
id type clike
|
||||
method_insert type clike
|
||||
method_destroy type clike
|
||||
.
|
||||
method_destroy type clike optional.
|
||||
|
||||
METHODS cursor_set
|
||||
IMPORTING
|
||||
|
|
Loading…
Reference in New Issue
Block a user