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

Expose property object (and xpath) inside the rendering context in Layout / Widgets

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.6
    • Fix Version/s: None
    • Component/s: Layouts & Widgets
    • Tags:
    • Team:
      AT

      Description

      Requirement
      My understanding is that you would need to access from within the widget template to the Property XPath.
      The idea is to allow your widget to have some info about the context of the target field.

      Solution
      In the current state there is no easy / simple way to fetch this information from the renderingcontext.

      JSF components are bound to value, so only the value of the property is exposed not the property object itself.

      However, this could make sense to add support for that in the framework. Since it requires to do some changes in the variable
      resolver, this is not a quick tasks because it may have a lot of impacts.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.