@@ -16,7 +16,6 @@ METHOD z2ui5_if_app~main.
1616 DATA(lo_popup) = z2ui5_cl_xml_view=>factory_popup(
1717 )->dialog( 'Popup - Info'
1818 )->text( 'this is an information shown in a popup' ).
19-
2019 client->popup_display( lo_popup->stringify( ) ).
2120
2221ENDMETHOD.
@@ -28,7 +27,6 @@ A common flow for using popups typically involves displaying a normal view, then
2827METHOD Z2UI5_if_app~main.
2928
3029 IF client->check_on_init( ).
31-
3230 DATA(lo_view) = z2ui5_cl_xml_view=>factory(
3331 )->page( 'abap2UI5 - Popups'
3432 )->button(
@@ -41,7 +39,6 @@ METHOD Z2UI5_if_app~main.
4139 CASE client->get( )-event.
4240
4341 WHEN 'POPUP_OPEN'.
44-
4542 DATA(lo_popup) = Z2UI5_cl_xml_view=>factory_popup(
4643 )->dialog( 'Popup'
4744 )->text( 'this is a text in a popup'
@@ -70,7 +67,6 @@ To display a popover, use the method `client->popover_display` and specify the I
7067METHOD Z2UI5_if_app~main.
7168
7269 IF client->check_on_init( ).
73-
7470 DATA(view) = z2ui5_cl_xml_view=>factory(
7571 )->shell(
7672 )->page( 'Popover Example'
@@ -85,7 +81,6 @@ METHOD Z2UI5_if_app~main.
8581 CASE client->get( )-event.
8682
8783 WHEN 'POPOVER_OPEN'.
88-
8984 DATA(popover) = Z2UI5_cl_xml_view=>factory_popup(
9085 )->popover( placement = 'Left'
9186 )->text( `this is a popover`
@@ -125,4 +120,4 @@ Several pre-built popup classes are available for specific scenarios:
125120* z2ui5_cl_pop_to_inform
126121* z2ui5_cl_pop_to_select
127122
128- This collection can be further expanded to cover additional common use cases. Contributions are always welcome!
123+ This collection can be further expanded to cover additional common use cases. Contributions are always welcome!
0 commit comments