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

Make it possible to use value bound to field in widget modes expressions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.5
    • Fix Version/s: 11.2
    • Component/s: Layouts & Widgets

      Description

      When using an expression to resolve the widget mode, the variable "value" does not map the field configured on the widget => an expression like "#{layoutValue.hrholidayrequest.numberRTT=='0'?'hidden':mode}" will work as expected, but "#{value=='0'?'hidden':mode}" should work too as it would be more intuitive, and consistent with expressions that can be used in widget properties.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: