Nikita
Nikita

Reputation: 21

Filtered / CachedRowSets and JSF 2.2

Clearly I am missing something. What I read about RowSets(Cached/Filtered/Joined) is that they are Beans capable.

So, on my .xhtml, I have the following kind of code, and I am using PrimeFaces 5.x

...
<p:dataTabel var="aRow" value="#{pageBean.List<Type>}">

<p:column value="#{aRow.property}" / >;

...

</p:dataTable>

If I use one of the RowSets to fetch my data, where do I define it so that I can access it without having to copy everything into Lists ?

Thanks, Nick

Upvotes: 0

Views: 51

Answers (1)

Kukeltje
Kukeltje

Reputation: 12337

The PrimeFaces datatable at this time of writing (5.2) does not support this. The reason for this is outlined in the link below, but it boils down to the fact that the current implementation of the PF datatable needs the total 'rowcount' and a rowset does not support this.

See also

Upvotes: 1

Related Questions