-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.17.2
-
Fix Version/s: 18
-
Component/s: Documents, Layouts & Widgets
-
Tags:
-
Sprint:Sprint DMStudio (5.9.3)
Because of NXP-10424, the layout generation for nested complex types needs additional conf to work ok.
For instance, when using the schema described in NXS-1851, the following error is shown when using the default generated layout.
Caused by: javax.el.PropertyNotFoundException: /widgets/list_widget_template.xhtml @203,105 value="#{model.rowData['foo']}": Target Unreachable, 'rowDa ta' returned null on 'org.nuxeo.ecm.platform.ui.web.model.impl.ProtectedEditableModelImpl' at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)
Adding the following value for property "list template item" to the list widget for field "nest2" fixes the issue:
#{nxd:propertyDefaultValue('testnestedcomplex:nest1/nest2')}
- depends on
-
NXP-14191 Fix list widget when inside a complex sub widget
- Resolved
-
NXS-1851 Fix nested complex types generation in schemas
- Resolved
-
NXS-2003 XSD generator fails to properly generate the nested complex types
- Resolved
-
NXP-10424 Improve list widget management in lists of lists in edit mode
- Resolved