bugfix messagetoast messagebox (#150)

This commit is contained in:
oblomov 2023-04-10 15:16:09 +02:00
parent d329bf527c
commit 7ccb75b8b1
2 changed files with 5 additions and 2 deletions

View File

@ -139,7 +139,7 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
` }` && |\n| &&
` if (sap.z2ui5.oResponse.vViewPopup) {` && |\n| &&
` ` && |\n| &&
` jQuery.sap.require("sap.ui.core.Fragment");` && |\n| &&
` ` && |\n| &&
` sap.ui.core.Fragment.load({` && |\n| &&
` definition: sap.z2ui5.oResponse.vViewPopup,` && |\n| &&
` controller: this,` && |\n| &&
@ -271,6 +271,9 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
` if (xml == '') { xml = '<mvc:View controllerName="z2ui5_controller" xmlns:mvc="sap.ui.core.mvc" />' };` && |\n| &&
|\n| &&
` debugger;` && |\n| &&
` jQuery.sap.require("sap.ui.core.Fragment");` && |\n| &&
` jQuery.sap.require("sap.m.MessageToast");` && |\n| &&
` jQuery.sap.require("sap.m.MessageBox");` && |\n| &&
` var oView = sap.ui.xmlview({viewContent:xml});` && |\n| &&
` oView.getController().Roundtrip();` && |\n| &&
|\n| &&

View File

@ -23,7 +23,7 @@ CLASS z2ui5_lcl_utility DEFINITION INHERITING FROM cx_no_check.
METHODS constructor
IMPORTING
val TYPE any OPTIONAL
previous LIKE previous OPTIONAL
previous TYPE REF TO cx_root OPTIONAL
PREFERRED PARAMETER val.
METHODS get_text REDEFINITION.