5 Replies Latest reply on Jul 3, 2011 11:12 PM by samour

    why two forms don't work in richfaces4 jsf2

    samour

      Hi, i have two forms.

      <html>

      <h:head>

      </h:head>

      <h:body>

      <rich:tabPanel>

           <rich:tab header="tab1">

           <h:form id="form1">

           <h:inputText value="#{bean1.value}"/>

           <a4j:commandButton action="#{bean1.action}"/>

           </h:form>

           </rich:tab>

          

           <rich:tab header="tab2">

           <h:form id="form2">

           <h:inputText value="#{bean2.value}"/>

           <a4j:commandButton action="#{bean2.action}"/>

           </h:form>

           </rich:tab>

      </rich:tabPanel>

      <h:body>

      </html>

      why commandButton in form2 don't work.

      Can someone help me,thanks.