@@ -14,8 +14,8 @@ To display a popup, use the method `client->popup_display` instead of `client->v
1414METHOD z2ui5_if_app~main.
1515
1616 DATA(lo_popup) = z2ui5_cl_xml_view=>factory_popup(
17- )->dialog( ' Popup - Info'
18- )->text( ' this is an information shown in a popup' ).
17+ )->dialog( ` Popup - Info`
18+ )->text( ` this is an information shown in a popup` ).
1919 client->popup_display( lo_popup->stringify( ) ).
2020
2121ENDMETHOD.
@@ -28,26 +28,26 @@ METHOD Z2UI5_if_app~main.
2828
2929 IF client->check_on_init( ).
3030 DATA(lo_view) = z2ui5_cl_xml_view=>factory(
31- )->page( ' abap2UI5 - Popups'
31+ )->page( ` abap2UI5 - Popups`
3232 )->button(
33- text = ' popup rendering, no background rendering'
34- press = client->_event( ' POPUP_OPEN' ) ).
33+ text = ` popup rendering, no background rendering`
34+ press = client->_event( ` POPUP_OPEN` ) ).
3535 client->view_display( lo_view->stringify( ) ).
3636
3737 ENDIF.
3838
3939 CASE client->get( )-event.
4040
41- WHEN ' POPUP_OPEN' .
42- DATA(lo_popup) = Z2UI5_cl_xml_view=>factory_popup(
43- )->dialog( ' Popup'
44- )->text( ' this is a text in a popup'
41+ WHEN ` POPUP_OPEN` .
42+ DATA(lo_popup) = Z2UI5_cl_xml_view=>factory_popup(
43+ )->dialog( ` Popup`
44+ )->text( ` this is a text in a popup`
4545 )->button(
46- text = ' close'
47- press = client->_event( ' POPUP_CLOSE' ) ).
46+ text = ` close`
47+ press = client->_event( ` POPUP_CLOSE` ) ).
4848 client->popup_display( lo_popup->stringify( ) ).
4949
50- WHEN ' POPUP_CLOSE' .
50+ WHEN ` POPUP_CLOSE` .
5151 client->popup_destroy( ).
5252
5353 ENDCASE.
@@ -84,22 +84,22 @@ To display a popover, use the method `client->popover_display` and specify the I
8484METHOD Z2UI5_if_app~main.
8585
8686 IF client->check_on_init( ).
87- DATA(view) = z2ui5_cl_xml_view=>factory(
87+ DATA(view) = z2ui5_cl_xml_view=>factory(
8888 )->shell(
89- )->page( ' Popover Example'
89+ )->page( ` Popover Example`
9090 )->button(
91- text = ' display popover'
92- press = client->_event( ' POPOVER_OPEN' )
93- id = ' TEST' ).
91+ text = ` display popover`
92+ press = client->_event( ` POPOVER_OPEN` )
93+ id = ` TEST` ).
9494 client->view_display( view->stringify( ) ).
9595
9696 ENDIF.
9797
9898 CASE client->get( )-event.
9999
100- WHEN ' POPOVER_OPEN' .
100+ WHEN ` POPOVER_OPEN` .
101101 DATA(popover) = Z2UI5_cl_xml_view=>factory_popup(
102- )->popover( placement = ' Left'
102+ )->popover( placement = ` Left`
103103 )->text( `this is a popover`
104104 )->button(
105105 id = `my_id`
@@ -109,7 +109,7 @@ METHOD Z2UI5_if_app~main.
109109 xml = view->stringify( )
110110 by_id = `my_id` ).
111111
112- WHEN ' POPOVER_CLOSE' .
112+ WHEN ` POPOVER_CLOSE` .
113113 client->popover_destroy( ).
114114 ENDCASE.
115115
0 commit comments