Nuxeo Showcase - Layout Service (forms, views, and actions)

Container

Description

The container widget displays its subwidgets with display options to control the rendering of global div container as well as each container of sub items, using the widget label as header.

If the widget is marked as handling labels (marker available on all widgets since 5.6), the header will be displayed. Otherwise it will never be displayed.

On version 5.6 (only this version), this widget also accepts custom properties to add forms around some of its subwidgets. If the property with name "nxw_addForm_#{widgetIndex}" is present and resolves to true, then a form will be added around the subwidgets at index #{widgetIndex}. For instance, adding a property "nxw_addForm_0" with value true, the first subwidget will be surrounded with a form.

From version 5.7, subwidgets hold this information directly, by declaring a control with key "addForm" and value "true".

It will apply to the current value (e.g. the layout or parent widget value) if no field definition is given.

Edit Mode View Mode
Fill the form and click on 'Submit' to display the widget rendering in view mode.
Container widget
Text widget
Date widget
Int widget
Boolean widget

Container widget
Text widget
Date widget
Int widget
Boolean widget No