[jboss-user] [JBoss Seam] - Changing SESSION-scoped instance in entityhome
uke
do-not-reply at jboss.com
Fri Jul 27 08:53:29 EDT 2007
Hi!
I've got a declaratively created entity-home component "fooDao".
And also a factory for instances of its entity class:
<factory name="foo" scope="SESSION" value="#{fooDao.instance}/>
The user selects an instance from a list (which sends the id as a parameter to a view page, as specified in my components.xml) and everything works great.
The problem arises when a user comes back to the list a second time in the same session. At that point, it doesn't matter which link the user presses, the 'foo' variable remains the instance that was loaded the first time around, rather than being set to the instance with the new selected id.
Is there an easy solution for this?
Thanks,
Sebastian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068196#4068196
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068196
More information about the jboss-user
mailing list