nested views (#340)

This commit is contained in:
oblomov 2023-07-05 18:39:50 +02:00 committed by GitHub
parent 65b6e2e7e0
commit f055295954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -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| &&

View File

@ -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