Skip to content

Commit d2f155c

Browse files
authored
Update model.md
1 parent e872e8b commit d2f155c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/development/model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ENDCLASS.
7777
CLASS z2ui5_cl_app_hello_world IMPLEMENTATION.
7878
METHOD z2ui5_if_app~main.
7979
80-
DATA(lv_name) TYPE string.
80+
DATA(lv_name) = 'my local value'.
8181
8282
client->view_display( z2ui5_cl_xml_view=>factory(
8383
)->page( 'abap2UI5 - Hello World'
@@ -92,4 +92,4 @@ For an example of local binding in action, refer to the value help use case in `
9292

9393
::: tip **Data in Public Attributes**
9494
When using One-Way or Two-Way binding, ensure your data is stored in the public attributes of your class. This allows the framework to access it from outside. This is similar to the PBO/PAI screen days, where data had to be stored in global variables.
95-
:::
95+
:::

0 commit comments

Comments
 (0)