Skip to content

Commit 6f59405

Browse files
authored
Refactor view_display calls in hello_world.md
1 parent e89ef95 commit 6f59405

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/get_started/hello_world.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ CLASS z2ui5_cl_app_hello_world IMPLEMENTATION.
3838
3939
client->view_display( z2ui5_cl_xml_view=>factory(
4040
)->page( |abap2UI5 - Hello World|
41-
)->text( |My Text|
42-
)->stringify( ) ).
41+
)->text( |My Text| ) ).
4342
4443
ENDMETHOD.
4544
ENDCLASS.
@@ -62,8 +61,7 @@ CLASS z2ui5_cl_app_hello_world IMPLEMENTATION.
6261
client->view_display( z2ui5_cl_xml_view=>factory(
6362
)->page( |abap2UI5 - Hello World|
6463
)->text( |My Text|
65-
)->button( text = |post| press = client->_event( |POST| )
66-
)->stringify( ) ).
64+
)->button( text = |post| press = client->_event( |POST| ) ) ).
6765
6866
CASE client->get( )-event.
6967
WHEN 'POST'.
@@ -93,8 +91,7 @@ CLASS z2ui5_cl_app_hello_world IMPLEMENTATION.
9391
)->page( |abap2UI5 - Hello World|
9492
)->text( |My Text|
9593
)->button( text = |post| press = client->_event( |POST| )
96-
)->input( client->_bind_edit( name )
97-
)->stringify( ) ).
94+
)->input( client->_bind_edit( name ) ) ).
9895
9996
CASE client->get( )-event.
10097
WHEN 'POST'.

0 commit comments

Comments
 (0)