2 Replies Latest reply on Oct 25, 2007 4:49 PM by Sergey Smirnov

    h:commandButton not working on RichFaces Tab

    Edem Morny Novice

      I'm using richfaces 3.1.1.SNAPSHOT I which was from Seam 2.0CR1.

      I've realised that all h:commandButtons and h:commandLinks rendered in a tab do not perform the actions associated with them when called, but rather just refresh the page. I've reported this on the Seam forum and this place looks like the right place to mention it.

      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119517&postdays=0&postorder=asc&start=0

      For the purposes of simplicity, i repeat a section of the facelet here

      <rich:tabPanel id="servicesTabPanel" selectedTab="#{navigation.servTab}">
       <rich:tab name="fairs" id="fairs" label="Fairs" >
       <h:form>
       <br/>
       <h:messages globalOnly="true"/>
       <h:outputText value="No fairs to display" rendered="#{fairs.rowCount==0}"/>
       <fieldset>
       <h:commandLink value="New fair" action="#{fairManager.createObject}"/>
       </fieldset>
      ...
      </h:form>
      </rich:tab>
      </rich:tabPanel>
      


      I thought that moving to RichFaces 3.1.2.GA will solve the problem but things haven't changed.

      What is preventing my action from being called?