-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.1
-
Fix Version/s: 7.2
-
Component/s: Layouts & Widgets
-
Tags:
-
Impact type:Configuration Change
-
Upgrade notes:
-
Sprint:nxNag Sprint 7.1-5
Sometimes subwidget ids are generated several times, leading to multiple nxw_widget_1, nxw_widget_2 even if it's not always necessary.
The widget is must be filed only when the widget variable is made available to the context, and subwidgets usually do not need their ids to be filled at this point: the nxl:subWidget tag should be the one performing the iteration, so it can ensure that widget ids are generated then.
Same for bound value name (than can change after first computation, when applying subwidgets to model.rowData inside lists, for instance)