Very large table pagination. How to make getRowCount() return long?
843844Jan 24 2010 — edited Jan 29 2010I found good solution for the large tables. It is MyFaces Trinidad Table via its org.apache.myfaces.trinidad.model.CollectionModel
But the problem is the same as for all JSF table models. It is not intended to work with the long numbers.The maximum expected row number is limited by the int capacity.
I think the problem is inherited from JSF standard UIData and DataModel which have the int oriented interface:
int getRowCount()
int getRowIndex()
Object getRowData(int rowIndex)
I want to handle the tables (resultsets etc) which potentially can have long rowCount and using the long rowIndex.
Is it possible with Trinidad Table?
Is it ever possible with JSF without writing new table component from scratch?
Thanks in advance.
P.S. I'm using MyFaces 1.2.8 and trinidad 1.2.12