You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Sriram Saroop <sr...@gmail.com> on 2007/05/22 16:30:45 UTC

Paginating a large DB table using ValueListHandler

Hi,
I'm trying to integrate ValueListHandler(http://valuelist.sourceforge.net)
with the JSF dataModel using the approach suggested in :
http://wiki.apache.org/myfaces/WorkingWithLargeTables
One of the things that I need to do is to implement the following method:

public DataPage<SomeRowObject> fetchPage(int startRow, int pageSize)

However ValueList does not seem to have a method to return a page given the
startRow. Has anyone tried this approach before ?
If so, any clues/suggestions ?
Thanks,
Sriram