Core
Core

Reputation: 840

Switch a4j (richfaces) tabPanel programmatically with Javascript

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

Answers (1)

zinan.yumak
zinan.yumak

Reputation: 1590

You can use

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

Detailed information can be found here

Upvotes: 6

Related Questions