14 Replies Latest reply on Oct 25, 2007 5:35 PM by Edem Morny

    h:commandButton not working on RichFaces tab

    Edem Morny Novice

      Hi,

      I just migrated my application to Seam 2.0 CR1 from 1.2.1.GA. However after the change i realise that all my h:commandButtons on RichFaces tabs do not work when i click them. Changing to s:button works, i want to submit the whole form.

      Here's a bit of the page

      <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>
      


      Clicking the commandButton here only causes the page to redisplay, though it worked alright in v 1.2.1.GA. Any ideas on what is going on?