I tried to implement the solution described here but it doesn't work.These are the steps to reproduce the problem:
- Program shows first tab selected
- User clicks on the second tab
Javascript code selects first tab with
tabViewVar.select(0)
where tabViewVar is defined in
<p:tabView id="tab1" widgetVar="tabViewVar">
The result is that the first tab is selected, however the objects of the second tab are still shown (not hidden).
An ideas?