nxu
Tag selectItems
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 selections values and labels.
It has been adapted to work with datamodel lists wrapped by Seam (when using the Datamodel annotation).
Example:
<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}" />
| Tag Information |
| Tag Class | None |
| TagExtraInfo Class | None |
| Body Content | None |
| Display Name | None |
| Attributes |
| Name | Required | Request-time | Type | Description |
| value | true | false | java.lang.String | Value binding representing the list to iterate on. |
| var | true | 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. |
| 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.