[jboss-user] [JBoss Seam] - Nested conversation - same Persistence Context?

MSchmidke do-not-reply at jboss.com
Mon Dec 3 04:24:52 EST 2007


Seam 2.0 GA

I became very accustomed to manually flushed persistence contexts as suggested in chapter 8.3.3.

Now, for the first time, I want to use a nested conversation.

I have one page for editing an object. This page is conversation scoped with flushMode=MANUAL.

Now I want to write a second page on which some further detail may be edited. For this subpage I want to use a nested conversation context.

The idea is when the user cancels the subpage, on the edit page everything should be like before opening the subpage, and when the user cancels the edit page, no changes should be written into DB.

But it seems that the subpage has the same persistence context as the edit page (the parent conversation context). This is not good, because every change the user makes in the subpage is immediately visible to the parent page.

Am I doing something wrong? Is there any solution for this?


Marcus.


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

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



More information about the jboss-user mailing list