Hi Volker, thanks for your advice. I'll try the DataModel as sheet source for DB paging in my Tobago app.
Best regards, Carsten -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volker Weber Sent: Wednesday, June 13, 2007 11:20 AM To: MyFaces Discussion Subject: Re: [Tobago] Database paging with Tobago Hi David, possible values in sheet are the same as in plain jsf: java.lang.Object[], java.util.List, javax.faces.model.DataModel, java.sql.ResultSet resultSet, javax.servlet.jsp.jstl.sql.Result and java.lang.Object. DataModel is the best choice for implement paging and sorting. Regards, Volker 2007/6/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi Bernd, > > a Tobago example would be very useful, because the wiki example works > with a DataModel and not a List like the Tobago sheet. > > Best regards, > Carsten > > -----Original Message----- > From: Bernd Bohmann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 12, 2007 9:16 PM > To: MyFaces Discussion > Subject: Re: [Tobago] Database paging with Tobago > > Hello, > > maybe this helps: > > http://wiki.apache.org/myfaces/WorkingWithLargeTables > > if this doesn't help I can try to setup a working with large tables > example in tobago. > > Regards > > Bernd > > [EMAIL PROTECTED] wrote: > > Hi, > > > > I have to implement database paging in my Tobago application. tc:sheet > > supports paging but requires all data in a list in memory. Because my > > query can have thousands of records as result, I want a paging > mechanism > > with only the displayed data in memory. Is there an easy (and fast) > way > > to implement such a thing with Tobago? My first attempt to this issue > is > > to implement a new list class, which implements the List interface and > > does the paging. But there might be an easier solutution. > > > > Best regards, > > Carsten > > > > >

