nxl

Tag widgetType

Attributes 
NameRequiredTypeDescription
nametruejavax.el.ValueExpression
(must evaluate to java.lang.String)
Name of the widget type that will be used: can be 'text', 'template',... or any widget type registered on the pluggable layout system.
modetruejavax.el.ValueExpression
(must evaluate to java.lang.String)
Mode in which widget must be rendered.
categoryfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Category of the widget type (optional). Available since 5.7.3, and used in conjunction with the 'name' attribute. Defaults implicitly to "jsf" when not set for compatibility.
valuefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The value on which widget will apply. If the "fields" attribute is not defined, it has to represent the bound property. Otherwise, it is used as a base for fields definitions that will represent the bound properties.
fieldfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The field definition on which the widget will apply. Must resolve to a FieldDefinition instances, or String item. If fields is also defined, this field definitions is added to the list. Available since 5.5.
fieldsfalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The field definitions on which the widget will apply. Must resolve to a list of FieldDefinition instances, or a list of String items. Available since 5.4.2.
widgetNamefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The String widget Name. Available since 5.7. If is not present, a name is generated instead.
propertiesfalsejavax.el.ValueExpression
(must evaluate to java.util.Map)
The widget properties. Must resolve to an instance of Map. Any other tag attributes are accepted and will be added on top of these properties. Available since 5.4.2.
labelfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The String widget label. Available since 5.4.2.
helpLabelfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The String widget help label. Available since 5.4.2.
translatedfalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
The boolean value stating if the widget labels have to be translated. Available since 5.4.2.
ignoreTemplatePropertyfalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Boolean value stating if "template" property should be removed from the widget properties. Convenient attribute to avoid stack overflow errors when using another widget type in a widget template, for compatibility code for instance. Available since 5.6.
subWidgetsfalsejavax.el.ValueExpression
(must evaluate to org.nuxeo.ecm.platform.forms.layout.api.Widget[])
The array of widgets instances (Widget[]) to add to the created widget. Available since 5.6.
resolveOnlyfalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Boolean stating that the widget to render should be resolved and exposed in the context, but not displayed. Useful to generate the widget instance without rendering it right away. Available since 5.7.

Output generated by Vdldoc View Declaration Language Documentation Generator.