[ http://issues.apache.org/jira/browse/MYFACES-1175?page=all ]
Mike Kienenberger closed MYFACES-1175:
--------------------------------------
Resolution: Invalid
This is an issue with the JSF specification, not with our implementation.
There's nothing we can do about it. See the following link for making changes
to the JSF specification.
http://wiki.apache.org/myfaces/FAQ#JSFspec
> <f:selectItems> requires SelectItem objects to render a parent
> <h:selectOneMenu> or similar
> -------------------------------------------------------------------------------------------
>
> Key: MYFACES-1175
> URL: http://issues.apache.org/jira/browse/MYFACES-1175
> Project: MyFaces Core
> Type: Improvement
> Environment: Tomcat 5.5.15, Windows XP
> Reporter: Eurig Jones
> Priority: Minor
>
> The <h:selectOneMenu> (and similar) tags require every entry to be of an
> instance of SelectItem!
> This turned out to be a big pain when I was fetching lots of objects from the
> database. I had to iterate through them all to create a duplicate Collection
> of SelectItem instances so I could display them in my menu dropdown. Wouldn't
> it be better to let objects IMPLEMENT SelectItem functionality instead of
> having to create a new SelectItem or extending?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira