Change the active tab on a p:tabview

Asked

Viewed 757 times

0

How to change the tab active in a component p:tabview from a p:commandButton?

Any idea?

1 answer

1


I’ve found the solution:

Use the function select(index) of the component to define the next p:tab active. This function is executed on the client side (javascript) and is invoked by the reference widgetVar of tabView.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.