[jboss-user] [JBoss Seam] - Re: how to start new conversation, new nested conversation a
petekol
do-not-reply at jboss.com
Fri Jul 21 04:10:41 EDT 2006
how can i put bean2 in to nested context after a user press m1,m3 buttons so that the bean is read-write?
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>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959816#3959816
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959816
More information about the jboss-user
mailing list