I displaying multiple p:datatable 's through ui:repeat, the following code snippet illustrates what I am doing:
<ui:repeat id="searchTables"
value="#{searchBean.mapKeys}"
var="mapKeys">
<p:dataTable id="recordTable"
value="#{searchBean.resultMap[mapKeys].resultList}"
var="recordTable"
paginator="true"
rows="10">
<f:facet name="header">
<h:outputText value="#{searchBean.resultMap[mapKeys].name}"/>
</f:facet>
<p:columns value="#{searchBean.resultMap[mapKeys].resultColumns}"
var="column"
columnIndexVar="colIndex">
<f:facet name="header">
<p:outputPanel>
#{column.header}
</p:outputPanel>
</f:facet>
<h:outputText value="#{recordTable[column.property]}"/><br/>
</p:columns>
</p:dataTable>
</ui:repeat>
I need each individual datatable to have its own paginator, however when my page is displayed only the first datatable gets the paginator and this paginator controls all the other displayed DataTables pages..
Thanks for your attention!