nxu
Tag selectItem
Tag adapted from the EasySI package ( http://jsf-comp.sourceforge.net/components/easysi/index.html).
This tag allows to iterate on any kind of data and have control on the resulting selection value and label.
Example:
<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}" />
Tag Information |
Tag Class | None |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
value | true | false | java.lang.String | Value binding representing the object to generate the select option from. |
var | false | false | java.lang.String | Name of the request scope attribute that will be used to set an item value and label with flexibility. |
itemValue | true | false | java.lang.String | Value binding resolved to build the item value. |
itemLabel | true | false | java.lang.String | Value binding resolved to build the item label. |
itemDisabled | false | false | java.lang.String | Value binding resolved to build the item disabled attribute. Available since 5.4. |
itemRendered | true | false | java.lang.String | Value binding resolved to exclude the item from selections. Available since 5.4. |
Variables |
No Variables Defined. |
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.