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

Improve actions to support different displays for a single category

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: Seam / JSF UI
    • Backlog priority:
      400
    • Upgrade notes:
      Hide

      Added a type attribute to action definition, as well as custom properties, with a generic template to display actions depending on their type + compatibility extension point to add a type to all actions missing it when in a given category.

      Show
      Added a type attribute to action definition, as well as custom properties, with a generic template to display actions depending on their type + compatibility extension point to add a type to all actions missing it when in a given category.

      Description

      1. we should add a type category for different kinds of rendering. Examples:

      rest document links (tabs)
      bare output links (for instance links to Studio or Connect or nuxeo.com in default app)
      command links / buttons / icons (could be treated as the same category, need to review differences between JSF buttons and links management)
      popups opening a new window
      fancy box calling JS code to display additional content.

      2. as a result of fancy boxes support, need to add a "popupLink" attribute giving the xhtml template to include/display in the fancy box

      Note that additional rendering customization should not be included in the action definition, but handled by templates rendering them (like CPSBoxes did).
      As stated, providing BBB types for old categories and using ui:decorate tags as a start could be an easy solution. Using widgets to render actions may introduce limitations (like allowing to perform additional ajax actions when clicking on an action). that kind of mechanism is already used in the new widget type displaying a layout with a toggable mode (see NXP-8144)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified