I have a list of object , "ObjectA", with a Strings and Objects ("ObjectB,ObjectC") list properties inside, actually y try to show properties :
Code: Select all
<p:accordionPanel id="p:accordionPanel" dynamic="true" cache="true">
<p:tab title="A" >
<h:panelGrid columns="6" cellpadding="10" id="gridofObjectA">
<p:dataTable id="data" value="#{Bean.ObjectA.ObjectB}">(ObjectB is a list of objects inside ObjectA)
<p:column headerText="A" id="columnA" columnIndexVar="i">
<h:outputText id="ObjectBText" value="#{objectb[i].text}" />
</p:column>etc....
</p:dataTable>
<h:panelGrid>
</p:tab>
</p:accordionPane>
Thanks for advance.