You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced/technical/concept.md
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,9 +100,35 @@ One key feature is that the browser does not re-render the entire HTML page, but
100
100
While modifying the XML view would typically trigger a complete re-render, focusing solely on updating the view model and binding UI attributes to it allows the UI5 framework to automatically update only the affected parts. Try out this snippet:
101
101
102
102
```abap
103
+
CLASS z2ui5_cl_app_partly_rerender DEFINITION PUBLIC CREATE PUBLIC.
103
104
105
+
PUBLIC SECTION.
106
+
INTERFACES z2ui5_if_app.
107
+
DATA text TYPE string.
108
+
DATA enabled TYPE abap_bool.
109
+
110
+
ENDCLASS.
111
+
112
+
CLASS z2ui5_cl_app_partly_rerender IMPLEMENTATION.
113
+
114
+
METHOD z2ui5_if_app~main.
115
+
116
+
IF client->check_on_init( ).
117
+
client->view_display( z2ui5_cl_xml_view=>factory(
118
+
)->input( enabled = client->_bind( enabled ) value = client->_bind( text )
0 commit comments