If I'm understanding right, I think you might be able to do something like:

t:dataTable.rows="#{BackingBean.rowsPerPage}"

This would then go in hand with:

dataModel = new LocalDataModel(getRowsPerPage());

Where getRowsPerPage() is a method in your backing bean.

---

You said that you have the paginator working ok, does this mean you've
implemented something for:

t:dataScroller.paginatorMaxPages

Because at present although the pagination does work, because of the
'fixed' maxPages say you 1,250 results, and displaying 10 results per
page, if you page forward to page 13, then really this should be the
last page and no others pages forward available, but at the moment, if
 paginatorMaxPages = 9, the user is presented with fictious pages 14,
15, etc... so seems like custom implementation is required to
dynamically determine paginatorMaxPages ?

G.

Reply via email to