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 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user