[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1589) Add s:selectItems itemValue attribute

Clark Updike (JIRA) jira-events at lists.jboss.org
Thu Sep 20 11:55:28 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1589?page=comments#action_12377857 ] 
            
Clark Updike commented on JBSEAM-1589:
--------------------------------------

Looks like this is not needed, as this example from the seam 2.0 reference works fine:

<h:selectOneMenu value="#{person.honorific}">
	<s:selectItems value="#{honorifics}" var="honorific"
		label="#{honorific.label}"
		noSelectionLabel="Please select" />
	<s:convertEnum />
</h:selectOneMenu>

> Add s:selectItems itemValue attribute
> -------------------------------------
>
>                 Key: JBSEAM-1589
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1589
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: JSF
>            Reporter: Sergey Koshcheyev
>         Attachments: selectItems-itemValue-head.patch, selectItems-itemValue.patch
>
>
> I have implemented itemValue attribute for s:selectItems, to be used like this:
> <h:selectOneMenu value="#{entityId}" required="false">
>     <s:selectItems value="#{listOfEntities}"
>         var="entity"
>         label="#{entity.name}"
>         itemValue="#{entity.id}" />
> </h:selectOneMenu>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list