[richfaces-issues] [JBoss JIRA] (RF-12383) rich:pickList: picked items are not preserved, when raw objects are used
Jan Papousek (JIRA)
jira-events at lists.jboss.org
Wed Aug 8 04:26:16 EDT 2012
[ https://issues.jboss.org/browse/RF-12383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Papousek resolved RF-12383.
-------------------------------
Resolution: Won't Fix
Yes, the absence of converter has been cause of the problem. I've crated RF-12400, because I think a developer should be informed when he/she uses rich:pickList with List<Object> as a model that the converter is required.
> rich:pickList: picked items are not preserved, when raw objects are used
> ------------------------------------------------------------------------
>
> Key: RF-12383
> URL: https://issues.jboss.org/browse/RF-12383
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-selects
> Affects Versions: 4.3.0.Milestone1
> Environment: RichFaces 4.3.0.20120730-M1
> Metamer 4.3.0.20120730-M1
> Mojarra 2.1.7-SNAPSHOT
> Apache Tomcat 7.0.29
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Firefox 12.0 @ Linux x86_64
> Reporter: Jan Papousek
> Assignee: Jan Papousek
>
> I have the following code:
> {code}
> <rich:pickList ...>
> <f:selectItems value="#{model.capitals}" />
> </rich:pickList>
> {code}
> When the _getCapitals()_ method returns _List<SelectItem>_, the rich:pickList works correctly. When it returns _List<Capital>_, the selected items are missed after clicking on the h:commandButton.
--
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