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

Fix toggled layout when defined from Studio

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF05, 7.2
    • Component/s: Layouts & Widgets

      Description

      When defining a toggleable layout from Studio, the variable "layoutWidgetMode" is used to resolve the target layout, using expressions like:

      #{layoutWidgetMode == 'edit'? 'myLayout@edit': 'myLayout@view'}
      

      But the corresponding layout name is not resolved correctly at build time, need to tweak the declarations to ensure the view layout is rendered in view mode, and the edit layout in edit mode (both layouts are currently built from the start)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: