Question

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".

Was it helpful?

Solution

You can use

RichFaces.switchTab('tabPanelId','tabLabel','tabId') method to change tabs.

Detailed information can be found here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top