Nuxeo Server

Advanced Widget Types

Updated: December 5, 2017 Page Information Edit on GitHub

This page is scheduled for review and update. Check back soon for updated content!

A series of widget types for advanced usage.

Layout

Id: layout

The layout widget type displays a layout. This is useful to build high-level layouts, in combination with the Form Actions widget type for instance.

Set Variable

Id: setVariable

This widget type uses the nxu:set tag to expose variables in the JSF context, and displays its subwidgets. It can be useful to make a variable available for the subwidgets rendering.

For instance, this is useful when manipulating selection entries, to be able to cache them in the page (and avoid retrieving them for each item rendered in selection options).

Template

Id: template

The template widget type is highly customizable and allows to define a XHTML template to use for rendering the widget depending on its mode. Please refer to the dedicated documentation.

Action

Id: action

This widget type displays an action, with possibility to surround it by a form or not (and additional rendering properties).

The difference with the Form Action or Toolbar Action widget types is that it needs the action to be already resolved. This makes it possible to display actions that would have been retrieved using a custom filtering context.

Actions

Id: actions

This widget type displays actions, with possibility to surround it by a form or not (and additional rendering properties).

The difference with the Form Actions or Toolbar Actions widget types is that it needs the action to be already resolved. This makes it possible to display actions that would have been retrieved using a custom filtering context.

Single Generic Suggestion

Id: select2Widget

This widget types displays a select2 suggestion for a single element selection. It requires advanced configuration for the operation to call and javascript functions for formatting of JSON result of suggestions.

Multiple Generic Suggestion

Id: select2WidgetMultiple

This widget types displays a select2 suggestion for multiple elements selection. It requires advanced configuration for the operation to call and javascript functions for formatting of JSON result of suggestions.

 


5 days ago Manon Lumeau add tags for doc days
a month ago manonlumeau Added content-review-lts2017 label
2 months ago manonlumeau NXDOC-1346-FT review screenshot
a year ago Solen Guitter 10
2 years ago Solen Guitter 9 | Update table of contents look
4 years ago Solen Guitter 8 | Added related topics
4 years ago Anahide Tchertchian 7 | add usage of set variable wdget (selection options cache)
4 years ago Anahide Tchertchian 6 | insert anchors
4 years ago Anahide Tchertchian 5 | more fixes of anchor links
4 years ago Anahide Tchertchian 4 | fix link with anchor
4 years ago Anahide Tchertchian 3 | add advanced widget types
4 years ago Anahide Tchertchian 2 | add structure
4 years ago Anahide Tchertchian 1
History: Created by Anahide Tchertchian