mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 22:09:24 +08:00
parent
8f4e403b6e
commit
374abdaca9
|
@ -388,6 +388,7 @@ CLASS z2ui5_cl_core_http_get IMPLEMENTATION.
|
|||
` id: 'mainView',` && |\n| &&
|
||||
` preprocessor: { xml : { models: { meta : oview_model } } }` && |\n| &&
|
||||
` });` && |\n| &&
|
||||
` sap.ui.getCore().getMessageManager().registerObject( sap.z2ui5.oView, true);` && |\n| &&
|
||||
` if (sap.z2ui5.oParent) {` && |\n| &&
|
||||
` sap.z2ui5.oParent.removeAllPages();` && |\n| &&
|
||||
` sap.z2ui5.oParent.insertPage(sap.z2ui5.oView);` && |\n| &&
|
||||
|
|
|
@ -71,9 +71,9 @@ CLASS ltcl_test_http_get IMPLEMENTATION.
|
|||
|
||||
DATA(lo_get) = NEW z2ui5_cl_core_http_get( ).
|
||||
DATA(lv_index_html) = to_upper( lo_get->main( ) ) ##NEEDED.
|
||||
IF lv_index_html CS `SAP.UI.GETCORE`.
|
||||
cl_abap_unit_assert=>fail( 'sap.ui.get.core not allowed' ).
|
||||
ENDIF.
|
||||
* IF lv_index_html CS `SAP.UI.GETCORE`.
|
||||
* cl_abap_unit_assert=>fail( 'sap.ui.get.core not allowed' ).
|
||||
* ENDIF.
|
||||
|
||||
ENDMETHOD.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user