users@woodstock.java.net

Re: Paginate large table with webuijsf:table

From: Stefan Bley <stefan.bley_at_saxsys.de>
Date: Thu, 31 Jul 2008 03:21:04 -0700 (PDT)

Hi,

i'm also interested in database pagination.
Could you please provide some sample project that contains your new
DataProvider?
Any help would be appreciated.

Best regards,
Stevy


bbergquist wrote:
>
> What you can do is provide your own TableDataProvider. I use a class
> derived from ObjectListDataProvider and fetch a page of records at a
> time from the database, build the list and render. For paging, I use
> the table footer facet and add my own paging controls that look like the
> ones provided by the table. When fetching the records for the page, I
> fetch an extra record to determine if there is another page so that I
> can properly enable/disable the paging controls (next, last, previous,
> first).
>

-- 
View this message in context: http://www.nabble.com/Paginate-large-table-with-webuijsf%3Atable-tp14970571p18751580.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.