[richfaces-issues] [JBoss JIRA] (RF-11606) rich:select : doesn't cast selectItem value

Brian Leathem (Updated) (JIRA) jira-events at lists.jboss.org
Tue Nov 1 15:38:45 EDT 2011


     [ https://issues.jboss.org/browse/RF-11606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-11606:
-------------------------------

    Fix Version/s: 4.2.0.Tracking


thanks for the report - as a workaround, have you tried nesting a converter in your select menu?
                
> rich:select : doesn't cast selectItem value
> -------------------------------------------
>
>                 Key: RF-11606
>                 URL: https://issues.jboss.org/browse/RF-11606
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-selects
>    Affects Versions: 4.1.0.Milestone2
>         Environment: Internet Explorer 8, Google Chrome 14, Oracle Weblogic 11g
>            Reporter: Frederic Allard
>              Labels: rich:select, richfaces4
>             Fix For: 4.2.0.Tracking
>
>
> If you define f:selectItem(s) directly in the xhtml file as children of a rich:select, the values of the selectItem(s) are not cast to the bound value of the rich:select. 
> This results in the value to be not selected by the rich:select after rendering the page.
> As the documentation of the component says: "The rich:select component is designed to replace standard h:selectOneMenu."
> The h:selectOneMenu casts and selects the value in this case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list