File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,26 @@ START-OF-SELECTION.
5656```
5757this is thew wy we can do it with abap2ui5:
5858``` abap
59- "app
60- "app
61- "app
59+ CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC CREATE PUBLIC.
60+ PUBLIC SECTION.
61+ INTERFACES z2ui5_if_app.
62+ DATA pa_arbgb TYPE string.
63+ ENDCLASS.
64+
65+ CLASS z2ui5_cl_app_hello_world IMPLEMENTATION.
66+ METHOD z2ui5_if_app~main.
67+
68+ IF client->check_on_init( ).
69+ client->view_display(
70+ z2ui5_cl_xml_view=>factory(
71+ )->input( client->_bind_edit( pa_arbgb )
72+ )->button( text = 'post' press = client->_event( 'POST' ) ) ).
73+ ELSEIF client->get( )-event = 'POST'.
74+ client->message_box_display( |Input: { pa_arbgb }| ).
75+ ENDIF.
76+
77+ ENDMETHOD.
78+ ENDCLASS.
6279```
6380
6481### ALV
You can’t perform that action at this time.
0 commit comments