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


Type text
Title Text

The text widget displays an input text in create or edit mode, with additional message tag for errors, and a regular text output in any other mode.

Widgets using this type can provide properties accepted on a <h:inputText /> tag in create or edit mode, and properties accepted on a <h:outputText /> tag in other modes.

Accepting Sub Widgets
Handling Labels
Containing Form
Handler Class org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TextWidgetTypeHandler
Categories document
Style style
Style class styleClass
Title title
Escape escape If set to false, the held value will not be escaped. For instance if it contains HTML tags, they will be rendered as part of the rendered HTML page instead of being rendered as text content. Defaults to true.
Localize localize If set to true, the held value will be translated. This property cannot be an EL expression, it will only resolve literal values 'true' or 'false'. Defaults to false. Available since 5.5.
Required required
Max length maxlength
Size size
Style style
Style class styleClass
Title title
Access key accesskey
Alt alt
Direction dir
Placeholder placeholder String representing a short hint (a word or short phrase) intended to aid the user with data entry.
Disabled disabled
Immediate immediate
Lang lang
Validator validator
Value change listener valueChangeListener