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.
Is this a JSFUnit question? If so, please post your JSFUnit test code.
Otherwise, please direct your question to the RichFaces forum.
Regards,
Stan