Cross Application Navigation to external window (#636)

* Cross Application Navigation to external window

Update z2ui5_cl_fw_http_handler.clas.abap

* Cross application navigation to external window
This commit is contained in:
axelmohnen 2023-11-08 12:35:46 +01:00 committed by GitHub
parent 574d2d074a
commit 59a5de9617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,11 +261,22 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
` params: args[2]` && |\n| &&
` })) || "";` && |\n| &&
|\n| &&
` oCrossAppNavigator.toExternal({` && |\n| &&
` target: {` && |\n| &&
` shellHash: hash` && |\n| &&
` }` && |\n| &&
` }); break;` && |\n| &&
` if (args[3] === 'EXT') {` && |\n| &&
|\n| &&
` var url = window.location.href.split('#')[0] + hash;` && |\n| &&
` sap.m.URLHelper.redirect(url, true);` && |\n| &&
|\n| &&
` }` && |\n| &&
` else {` && |\n| &&
|\n| &&
` oCrossAppNavigator.toExternal({` && |\n| &&
` target: {` && |\n| &&
` shellHash: hash` && |\n| &&
` }` && |\n| &&
` });` && |\n| &&
|\n| &&
` }` && |\n| &&
` break;` && |\n| &&
` case 'LOCATION_RELOAD':` && |\n| &&
` window.location = args[1];` && |\n| &&
` break;` && |\n| &&