[richfaces-issues] [JBoss JIRA] (RF-12383) rich:pickList: picked items are not preserved, when raw objects are used

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Aug 7 14:27:06 EDT 2012


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

Brian Leathem reassigned RF-12383:
----------------------------------

    Assignee: Jan Papousek


Are you using a converter?  A 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