From 97de9a21592281ef3aefa4bfa1073501bdc94762 Mon Sep 17 00:00:00 2001 From: "oblomov-dev@outlook.com" Date: Fri, 1 Mar 2024 08:48:12 +0000 Subject: [PATCH] added back button --- src/z2ui5_cl_demo_app_088.clas.abap | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/z2ui5_cl_demo_app_088.clas.abap b/src/z2ui5_cl_demo_app_088.clas.abap index 6c621250..2751f633 100644 --- a/src/z2ui5_cl_demo_app_088.clas.abap +++ b/src/z2ui5_cl_demo_app_088.clas.abap @@ -59,7 +59,10 @@ CLASS z2ui5_cl_demo_app_088 IMPLEMENTATION. METHOD z2ui5_view_display. DATA(view) = z2ui5_cl_xml_view=>factory( ). - DATA(page) = z2ui5_cl_xml_view=>factory( )->shell( )->page( `abap2UI5 - App Finder` + DATA(page) = z2ui5_cl_xml_view=>factory( )->shell( )->page( + navbuttonpress = client->_event( val = 'BACK' ) + shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) + title = `abap2UI5 - App Finder` )->content( ). page->icon_tab_header( selectedkey = client->_bind_edit( mv_selected_key )