[jboss-user] [JBoss Seam] - Re: Merging objects problems.

RobJellinghaus do-not-reply at jboss.com
Fri Aug 25 18:59:00 EDT 2006


You want to be using conversation scope, not session scope.  This is pretty much exactly what conversations are for.  The CreateGroup action should have @Begin on the createNewGroup method, and the Group component should be conversation-scoped.  The editing actions should all be conversation-scoped also, so they are editing only that group that was created int he conversation.

Then any action method that returns you to the CreateGroup page should have @End, so it clears the conversation-scoped Group.

Hope that helps :-)  Make sure you reread the Seam documentation about conversations; this is exactly what they are for!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967596#3967596

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967596



More information about the jboss-user mailing list