Skip to content

Commit 91bb335

Browse files
authored
Update z2ui5_cl_demo_app_292.clas.abap (#467)
* Update z2ui5_cl_demo_app_292.clas.abap * Update z2ui5_cl_demo_app_292.clas.abap
1 parent 4f7f87a commit 91bb335

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

src/z2ui5_cl_demo_app_292.clas.abap

+19-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ CLASS Z2UI5_CL_DEMO_APP_292 IMPLEMENTATION.
5454
class = `sapUiContentPadding`
5555
width = `100%`
5656
)->title( text = `Breadcrumbs with current page aggregation set`
57-
)->breadcrumbs(
57+
)->breadcrumbs( id = `idBreadcrumbs`
58+
separatorstyle = `{/selected}`
59+
currentlocationtext = `Page 7`
5860
)->link( text = `Home`
5961
press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
6062
)->link( text = `Page 1`
@@ -67,12 +69,27 @@ CLASS Z2UI5_CL_DEMO_APP_292 IMPLEMENTATION.
6769
press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
6870
)->link( text = `Page 5`
6971
press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
70-
)->current_location(
7172
)->link( text = `Page 6`
7273
press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
7374
)->get_parent(
7475
)->get_parent( ).
7576

77+
page->hbox( alignitems = `Center`
78+
)->label( labelfor = `idSeparatorSelect`
79+
text = `Change separator style`
80+
81+
)->select( class = `sapUiSmallMarginBegin`
82+
id = `idSeparatorSelect`
83+
selectedkey = `{/selected}`
84+
change = 'onChange'
85+
)->item( key = `Slash` text = `Slash`
86+
)->item( key = `BackSlash` text = `BackSlash`
87+
)->item( key = `DoubleSlash` text = `DoubleSlash`
88+
)->item( key = `DoubleBackSlash` text = `DoubleBackSlash`
89+
)->item( key = `GreaterThan` text = `GreaterThan`
90+
)->item( key = `DoubleGreaterThan` text = `DoubleGreaterThan`
91+
).
92+
7693
client->view_display( page->stringify( ) ).
7794

7895
ENDMETHOD.

0 commit comments

Comments
 (0)