How can I change the% active% in a tab
component from a p:tabview
?
Any ideas?
How can I change the% active% in a tab
component from a p:tabview
?
Any ideas?
I already found the solution:
Use the select(index)
function of the component to set the next p:tab
active. This function is executed on the client side ( javascript
) and is invoked by the reference widgetVar
of tabView
.