Skip to content

Commit c67c93d

Browse files
authored
Update concept.md
1 parent 8d0bbdd commit c67c93d

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

docs/advanced/technical/concept.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ CLASS z2ui5_cl_app_partly_rerender DEFINITION PUBLIC CREATE PUBLIC.
9797
PUBLIC SECTION.
9898
INTERFACES z2ui5_if_app.
9999
DATA text TYPE string.
100-
DATA enabled TYPE abap_bool.
101100
102101
ENDCLASS.
103102
@@ -106,20 +105,16 @@ CLASS z2ui5_cl_app_partly_rerender IMPLEMENTATION.
106105
METHOD z2ui5_if_app~main.
107106
108107
IF client->check_on_init( ).
109-
110108
client->view_display( z2ui5_cl_xml_view=>factory(
111-
)->input( enabled = client->_bind( enabled ) value = client->_bind( text )
112-
)->button( text = 'partly rerender html' press = client->_event( 'POST' )
109+
)->input( value = client->_bind( text )
110+
)->button( text = 'partly rerender html' press = client->_event( 'POST' )
113111
)->stringify( ) ).
114-
115-
ELSE.
116-
117-
enabled = xsdbool( enabled = abap_false ).
118-
text = text && ` text`.
119-
client->view_model_update( ).
120-
112+
RETURN.
121113
ENDIF.
122114
115+
text = text && ` text`.
116+
client->view_model_update( ).
117+
123118
ENDMETHOD.
124119
125120
ENDCLASS.

0 commit comments

Comments
 (0)