This content has been marked as final.
Show 2 replies
-
1. Re: two cascading panel into a form component
oguzyalcin.oguzhanyalcin.gazi.edu.tr Oct 19, 2009 8:53 AM (in response to vdeminico)You can put anther <rich:panel> inside the from like below:
<ui:define name="body"> <h:messages globalOnly="true" styleClass="message"/> <h:form id="registrationForm"> <rich:panel id="outterPanel"> <rich:panel id="datiStrutturaPanel"> <f:facet name="header">Dati Struttura</f:facet> <s:decorate id="descrizioneDecoration" template="layout/edit.xhtml"> <ui:define name="label"> <h:outputLabel for="descrizioneTextbox">Descrizione:</h:outputLabel> </ui:define> <h:inputTextarea id="descrizioneTextbox" rows="5" cols="50" required="false" value="#{attivita.descrizione}"/> </s:decorate> </rich:panel> <br/><br/> <rich:panel id="datiLocalitaPanel"> <f:facet name="header">Selezione Localita'</f:facet> <s:decorate id="regioneSelectDecoration" template="layout/edit.xhtml"> <ui:define name="label"> <h:outputLabel for="regioneSelect">Regione:</h:outputLabel> </ui:define> <div style="clear:both"/> </rich:panel> <div class="actionButtons"> <h:commandButton id="registration" value="registration" action="#{registration.registration}"/> </div> </rich:panel> </h:form> </ui:define>
-
2. Re: two cascading panel into a form component
vdeminico Oct 20, 2009 11:59 AM (in response to vdeminico)Thanks for your reply... but nothing changes... the browser renders a page with the two panels correctly disposed and with ui components which seems not bound to the panel.
Thanks,
Valerio