[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3518) rich:pickList does not set List<E> property of stateful with empty ArrayList<E>

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Oct 6 12:37:21 EDT 2008


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

Pete Muir closed JBSEAM-3518.
-----------------------------

    Resolution: Rejected


JIRA is not a support forum.

> rich:pickList does not set List<E> property of stateful with empty ArrayList<E>
> -------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3518
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3518
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.1.0.BETA1, 2.1.0.CR1
>         Environment: 4.2.3GA seam 2.1cr1 and present in beta1 as well
>            Reporter: Emil Iakoupov
>
> Hello,
> i have the following in the xhtml page:
> <s:decorate id="matchSkillsDecorate" template="display.xhtml">
>   <ui:define name="label">Skills:</ui:define>
>   <rich:pickList id="pickedSkills"
>     value="#{userRegistration.pickedSkills}" style="width: auto;">
>     <s:selectItems id="skills" value="#{skills}" var="_skill" label="#{_skill.skillDescription}"/>
>     <s:convertEntity/>
>   </rich:pickList>
> </s:decorate>
> here is the userRegistration bean:
> @Stateful
> @Name("userRegistration")
> public class UserRegistrationAction implements UserRegistration {
> ...
> @DataModel(value="skills", scope=ScopeType.PAGE)
> private List<Skill> skills;
> private List<Skill> pickedSkills; // has getters and setters here and in interface.
> ...
> the problem is that private List<Skill> pickedSkills gets set with an empty ArrayList<E>, on page submit, although everything in the pickList is displayed correctly. I posted to seam forum and rich forum. No answer.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list