[jboss-user] [JBoss Seam] - Re: nested conversation kills its parent if id is specified
petekol
do-not-reply at jboss.com
Thu Jul 27 03:21:33 EDT 2006
"gavin.king at jboss.com" wrote : All beans instantiated during a conversation go into the current (ie. most nested) conversation.
it is clear -)
bean1:
showBean2 = false;
@Begin(join=true)
m1() {
some code here;
showBean2 = true;
}
bean2:
@Begin(nested=true)
m3() {
some code here;
}
index.xhtml
<h:form>
<h:commandLink value="m1" action="#{bean1.m1}" class="button" />
</h:form>
<h:form rendered="#{bean1.showBean2}"
<h:commandLink value="m3" action="#{bean2.m3}" class="button" />
</h:form>
after a user press m1 button both beans go in new conversation.
i would like bean2 be in nested when a user press m3 after pressing m1
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961195#3961195
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961195
More information about the jboss-user
mailing list