[richfaces-issues] [JBoss JIRA] (RF-11606) rich:select : doesn't cast selectItem value
Frederic Allard (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Nov 2 09:16:45 EDT 2011
[ https://issues.jboss.org/browse/RF-11606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639247#comment-12639247 ]
Frederic Allard commented on RF-11606:
--------------------------------------
No I haven't. As a temporary workaround, I simply did, for my use case, a String cast at the getter/setter level.
> 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