Reputation: 840
When I click a commandButton, I would like to execute some js to switch the current tab panel to another tab panel. My tabPanel is switchType="client".
Upvotes: 4
Views: 4257
Reputation: 1590
You can use
RichFaces.switchTab('tabPanelId','tabLabel','tabId') method to change tabs.
Detailed information can be found here
Upvotes: 6