File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff 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
102101ENDCLASS.
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
125120ENDCLASS.
You can’t perform that action at this time.
0 commit comments