Skip to content

Commit c59ddc1

Browse files
authored
Update model.md
1 parent b7de34e commit c59ddc1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/development/model.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ ENDCLASS.
4646
CLASS z2ui5_cl_app_hello_world IMPLEMENTATION.
4747
METHOD z2ui5_if_app~main.
4848
49-
CASE client->get( )-event.
50-
WHEN 'POST'.
51-
client->message_box_display( |Your name is { name }.| ).
52-
RETURN.
53-
ENDCASE.
54-
5549
client->view_display( z2ui5_cl_xml_view=>factory(
5650
)->page( 'abap2UI5 - Hello World'
5751
)->text( `Enter your name`
5852
)->input( client->_bind_edit( name )
5953
)->button( text = 'post' press = client->_event( 'POST' )
6054
)->stringify( ) ).
6155
56+
CASE client->get( )-event.
57+
WHEN 'POST'.
58+
client->message_box_display( |Your name is { name }.| ).
59+
RETURN.
60+
ENDCASE.
61+
6262
ENDMETHOD.
6363
ENDCLASS.
6464
```

0 commit comments

Comments
 (0)