1 Reply Latest reply on Jan 21, 2010 9:48 AM by ssilvert

    Help needed: How to switch tabs in <rich:tabpanel/> by clicking a commandLink.

      How to switch tabs in <rich:tabpanel/> by clicking a commandLink.

       

      <rich:tabPanel>

          

       

           <rich:tab name="check1">

       

                <f:facet name="label" >

       

                     <h:outputText value="Widgets"></h:outputText>

       

           </f:facet>

           </ricj:tab>

       

           <rich:tab name="check2">

       

                <f:facet name="label" >

       

                     <h:outputText value="XYZ"></h:outputText>

       

           </f:facet>

           <h:commandLink value="" onclick="#"> </h:commandLink>

           </ricj:tab>

       

      </richtabPanel>

       

       

      On click of the command link in tab(check2) the tab(check1) should open.

      I am facing problem in it.