1 Reply Latest reply on Jan 22, 2010 5:33 AM by Ilya Shaikovsky

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

    nitish kumar Newbie

      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.