Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15427

Fix required property evaluation in widget templates

    XMLWordPrintable

    Details

      Description

      Sometimes, the widget "required" property is used referencing expression

      #{widget.required}
      

      instead of

      #{widgetProperty_required}
      

      The first expression is only a shortcut to be able to know easily whether the widget should be displayed as required in templates, but this expression is resolved only once, at build time.

      To ensure good propagation and evaluation of this property in all circumstances (especially when using expressions depending on the request attributes), the second expression should be used instead.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: