This content has been marked as final.
Show 2 replies
-
1. Re: switching rich:tab with a links
iabughosh Mar 2, 2012 5:51 PM (in response to kamal_khadka)hello kamal,
you can use rich:tabPanel java script API,
<h:commandLink value="Service 1" onclick="#{rich:component('yourTabPanelId')}.switchToItem('yourTargetTabId'); return false;"/>
you can also use :
#{rich:component('yourTabPanelId')}.nextItem(); return false;
#{rich:component('yourTabPanelId')}.prevItem(); return false;
regards.
-
2. Re: switching rich:tab with a links
kamal_khadka Mar 2, 2012 7:13 PM (in response to iabughosh)1 of 1 people found this helpfulThanks for that. That look like it will work, will try it.
The way I did is as below:
<h:commandLink action="#{serviceTabMediator.setServiceTab('sas')}" value="Click Here">
<a4j:support event="onclick" reRender="menuTab"></a4j:support>
</h:commandLink>
Thanks again