When I first open my top-level tab, the content of the inner tab is ok. But when you click on the inner tab, it displays the contents of the top-level tab with the same index (so the second inner level tab contains the content of the second top-level tab). When selecting the first inner tab, it then also loads the first top-level tab (and overwrites the previously correct contents).
Here is small piece of code to demonstrate the problem :
Code: Select all
<h:form>
<p:tabView dynamic="true">
<p:tab title="Tab1">
<h1>TAB1</h1>
</p:tab>
<p:tab title="Tab2">
<h1>TAB2</h1>
</p:tab>
<p:tab title="Nested tab">
<p:tabView>
<p:tab title="Tab3.1">
<h1>TAB3.1</h1>
</p:tab>
<p:tab title="Tab3.2">
<h1>TAB3.2</h1>
</p:tab>
<p:tab title="Tab3.3">
<h1>TAB3.3</h1>
</p:tab>
<p:tab title="Tab3.4">
<h1>TAB3.4</h1>
</p:tab>
</p:tabView>
</p:tab>
</p:tabView>
</h:form>
Jef.