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

Fix global widget retrieval when layout category is not "jsf"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.2
    • Fix Version/s: 7.3
    • Component/s: Layouts & Widgets
    • Tags:
    • Sprint:
      nxNag Sprint 7.3.4
    • Story Points:
      1

      Description

      The LayoutStore component allows to register layout definitions, widget definitions, layout types and widget types in other categories than the default one, "jsf".
      This is useful when using layouts/widgets in another context than the default JSF application, to avoid name clashes, for instance.
      This is useful for action widget types, as well as widget types configurations (that can contain layout definitions to represent accepted properties).

      The actual problem: when a layout definition holds references to a widget, the widget can reference its own category, and when the category is not specfied, the JSF layout service assumes it's the default category, "jsf".

      But it should actually be useful to use the same category than the layout (and still assume this category is "jsf" by default, as definitions are not aware of their category – actually categories can be multiple) and handling this more generically would require changing the JSF layout service API to specify the layout category.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: