Tag to hold a value and expose it to the request context.
It can control a value to submit as any input component, or not.
Available since 5.5.
Example:
<nxu:valueHolder var="myVar" value="#{myComp.myValue}">
<h:outputText value="#{myVar}" />
</nxu:valueHolder>
| Info | Value |
|---|---|
| Component Type |
org.nuxeo.ecm.platform.ui.web.component.holder.UIValueHolder
|
| Handler Class |
org.nuxeo.ecm.platform.ui.web.component.holder.ValueHolderTagHandler
|
| Renderer Type | None |
| Description | None |
| Name | Required | Type | Description |
|---|---|---|---|
value | false | javax.el.ValueExpression
(must evaluate to java.lang.Object)
| Value binding representing the item to hold |
defaultValue | false | javax.el.ValueExpression
(must evaluate to java.lang.Object)
| Value binding representing the default value for the item to hold. is only resolved when the value attribute resolves to a null or empty value, and can be useful to set default values from the interface, without having to resolve them in the original value binding method. |
id | false | javax.el.ValueExpression
(must evaluate to java.lang.String)
| The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
rendered | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean)
| Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
required | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean)
| Flag indicating that the user is required to provide a submitted value. |
var | false | javax.el.ValueExpression
(must evaluate to java.lang.String)
| String. The name of a request-scope attribute under which the value held will be exposed. |
submitValue | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean)
| Flag indicating whether or not the value held by this component should be submitted to the backing bean. Defaults to true. |
Output generated by Vdldoc View Declaration Language Documentation Generator.