This tag is similar to the f:selectItems tag, except that it allows to iterate on any kind of data, and have control on the resulting selection values and labels.
It has been adapted to work with datamodel lists wrapped by Seam (when using the Datamodel annotation).
Examples:<nxu:selectItems value="#{myBean.myList}" var="item" itemValue="#{item.id}" itemLabel="#{item.title}" /> <nxu:selectItems value="#{documentList}" var="document" itemValue="#{document.ref}" itemLabel="#{document.dublincore.title}" />
Info | Value |
---|---|
Component Type | org.nuxeo.ecm.platform.ui.web.component.UISelectItems |
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 list to iterate on. |
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 | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Value binding resolved to exclude the item from the list of selections. Available since 5.4. |
ordering | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Value binding resolved to sort options. Possible values are "id" and "label". If not set, no ordering is done. Available since 5.4. |
caseSensitive | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Value binding resolved to a boolean value, to sort options case-insensitively. Does not have any effect if ordering is not set. Defaults to false. Available since 5.4. |
Output generated by Vdldoc View Declaration Language Documentation Generator.