Skip to content

Commit 97de9a2

Browse files
committed
added back button
1 parent ea41cf1 commit 97de9a2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/z2ui5_cl_demo_app_088.clas.abap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ CLASS z2ui5_cl_demo_app_088 IMPLEMENTATION.
5959
METHOD z2ui5_view_display.
6060

6161
DATA(view) = z2ui5_cl_xml_view=>factory( ).
62-
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell( )->page( `abap2UI5 - App Finder`
62+
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell( )->page(
63+
navbuttonpress = client->_event( val = 'BACK' )
64+
shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
65+
title = `abap2UI5 - App Finder`
6366
)->content( ).
6467

6568
page->icon_tab_header( selectedkey = client->_bind_edit( mv_selected_key )

0 commit comments

Comments
 (0)