This tag is similar to the f:selectItem tag, except that it allows to resolve the item from any kind of data, and have control on the resulting selection value and label.
Examples:<nxu:selectItem value="#{myBean.myElement}" var="item" itemValue="#{item.id}" itemLabel="#{item.title}" /> <nxu:selectItem value="#{document}" var="document" itemValue="#{document.ref}" itemLabel="#{document.dublincore.title}" />
Info | Value |
---|---|
Component Type | org.nuxeo.ecm.platform.ui.web.component.UISelectItem |
Handler Class | None |
Renderer Type | None |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
value | true | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Value binding representing the object to generate the select option from. |
var | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Name of the request scope attribute that will be used to set an item value and label with flexibility. |
itemValue | true | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Value binding resolved to build the item value. |
itemLabel | true | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Value binding resolved to build the item label. |
itemDisabled | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Value binding resolved to build the item disabled attribute. Available since 5.4. |
itemRendered | true | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Value binding resolved to exclude the item from selections. Available since 5.4. |
Output generated by Vdldoc View Declaration Language Documentation Generator.