[ https://issues.jboss.org/browse/JBSEAM-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marek Novotny updated JBSEAM-5122: ---------------------------------- Issue Type: Bug (was: Feature Request) > @Factory return value lost > -------------------------- > > Key: JBSEAM-5122 > URL: https://issues.jboss.org/browse/JBSEAM-5122 > Project: Seam 2 > Issue Type: Bug > Reporter: superanna li > > Dear team, > CurrentUserFactory where @Factory is used > {code} > @Name(CurrentUserFactory.FACTORY_COMPONENT_NAME) > @Scope(ScopeType.CONVERSATION) > public class CurrentUserFactory extends UserHome { > private static final long serialVersionUID = 1L; > public static final String COMPONENT_NAME = "currentUser"; > @In(value = ID_COMPONENT_NAME, scope = ScopeType.SESSION, required = > false) > @Out(value = ID_COMPONENT_NAME, scope = ScopeType.SESSION, required = > false) > private Integer id; > @Factory(value = COMPONENT_NAME, scope = ScopeType.CONVERSATION, > autoCreate = true) > public User getUser() { > return getInstance(); > } > ... > } > {code} > In the booking search page, click 'search' button, reRender the bookingList > in the same page, once click one of the booking for the detail information, > the currentUser will lost (the currentUser become the newly created user with > no value inside). it seems "currentUser" context value has been changed. > Best regards, > Anna -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ seam-issues mailing list seam-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/seam-issues