Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-2006

Fix generated layouts when using nested complex types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.17.2
    • Fix Version/s: 18

      Description

      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')}
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h