This content has been marked as final.
Show 3 replies
-
1. Re: PerNestedConversation
hasan_muhstaq Jun 4, 2008 11:57 AM (in response to marx3)With @PerNestedConversation the component instance that exists in the parent conversation is invisible to its child conversations.
Why are u using @PerNestedConversation if you want to acces the parent conversation?
I think you should be using
@Begin(nested=true)
Here the nested conversation uses the same instance as that of parent -
2. Re: PerNestedConversation
marx3 Jun 4, 2008 12:34 PM (in response to marx3)I need to use two different instances - one is parent and second one is a child. Those are two different beans with different data.
-
3. Re: PerNestedConversation
hasan_muhstaq Jun 4, 2008 1:08 PM (in response to marx3)In that case. try this
import org.jboss.seam.core.Conversation; String parentId = Conversation.instance().get.getParentId(); ConversationEntry parentConversationEntry = ConversationEntries.getInstance().getConversationEntry(parentId); // play with ur parentConversationEntry here // parentConversationEntry.