Switch a4j (richfaces) tabPanel programmatically with Javascript
When I click a c开发者_高级运维ommandButton, I would like to execute some js to switch the current tab panel to another tab panel. My tabPanel is switchType="client".
You can use
RichFaces.switchTab('tabPanelId','tabLabel','tabId') method to change tabs.
Detailed information can be found here
精彩评论