I bind the LazyList<SomeObject> shown
here<
http://www.ilikespam.com/blog/paging-large-data-sets-with-a-lazylist>directly
to the table.
2008/7/31 Stefan Bley <stefan.bley_at_saxsys.de>
>
> 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>