Yes, but the display tag is making his own pagination that is not the real one. This is my problem, I am getting data page by page, but i can not tell display tag how many pages i have, .....
On Mon, 21 Feb 2005 15:41:56 -0800, Rick Herrick <[EMAIL PROTECTED]> wrote: > You have three choices then: > > * Get the whole result set and page it in memory (obvious performance issues > with the memory footprint) > * Get each page of results one at a time using SQL (obvious problem is > continuously rerunning the query) > * Write your own ORM or use Hibernate to wrap the legacy objects. > > Again, this is really outside of the purview of displaytag. You're talking > about data handling and caching issues. > > Rick Herrick > [EMAIL PROTECTED] > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:displaytag-user- > > [EMAIL PROTECTED] On Behalf Of Bogdan Serban > > Sent: Monday, February 21, 2005 6:29 AM > > To: [email protected] > > Subject: Re: [displaytag-user] using display tag with huge database > > > > Thanks, > > for hibernate is ok. > > > > Anyway i have to support older systems, and they are not running on > > top of Hibernate. > > > > > > On Fri, 18 Feb 2005 10:39:02 -0800 (PST), Rick Herrick > > <[EMAIL PROTECTED]> wrote: > > > Yeah, that's exactly what I was thinking of. Since you're already > > > Hibernate-enabled, this should be really easy. Check out: > > > > > > http://www.hibernate.org/hib_docs/reference/en/html/collections.html > > > > > > That shows you how to set up your collection map to do this. > > > > > > PJ Hyett said: > > > > Using hibernate's lazy="true" may accomplish what you're looking for. > > > > > > > > -PJ Hyett > > > > > > > > On Fri, 18 Feb 2005 08:24:18 -0800, Bogdan Serban <[EMAIL PROTECTED]> > > > > wrote: > > > >> I am using Hibernate and i want to feed display tag page by page > > > >> > > > >> On Thu, 17 Feb 2005 09:20:33 -0800 (PST), Rick Herrick > > > >> <[EMAIL PROTECTED]> wrote: > > > >> > Bogdan Serban said: > > > >> > > In my application the tables have thousands of rows and i want to > > > >> use > > > >> > > display tag for view. My problem is that i don't want to load all > > > >> the > > > >> > > data in memory. I have tried to extend the display tag librari > with > > > >> > > decorators or with my own RequestHelper but so far i did not > > > >> > > find any method to complete control the librari. > > > >> > > > > > >> > > What i need is a way to intercept de request and to server to the > > > >> > > tag only the current page, but have de pagination area displayed > > > >> corectly. > > > >> > > > > > >> > > Can you help me ? > > > >> > > > > >> > That's really more a matter of data handling than anything that > > > >> displaytag > > > >> > can (or should handle). Look at using an ORM such as Hibernate to > > > >> handle > > > >> > the data instead of just using a straight list or bean. > > > >> > > > > >> > -- > > > >> > Rick Herrick > > > >> > [EMAIL PROTECTED] > > > >> > > > > >> > Proud member of the reality-based community > > > >> > > > > >> > Never try to discourage thinking for you are sure to > > > >> succeed.--Bertrand > > > >> > Russell > > > >> > > > > >> > ------------------------------------------------------- > > > >> > SF email is sponsored by - The IT Product Guide > > > >> > Read honest & candid reviews on hundreds of IT Products from real > > > >> users. > > > >> > Discover which products truly live up to the hype. Start reading > now. > > > >> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > >> > _______________________________________________ > > > >> > displaytag-user mailing list > > > >> > [email protected] > > > >> > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > > >> > > > > >> > > > >> ------------------------------------------------------- > > > >> SF email is sponsored by - The IT Product Guide > > > >> Read honest & candid reviews on hundreds of IT Products from real > users. > > > >> Discover which products truly live up to the hype. Start reading now. > > > >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > >> _______________________________________________ > > > >> displaytag-user mailing list > > > >> [email protected] > > > >> https://lists.sourceforge.net/lists/listinfo/displaytag-user > > > >> > > > > > > > > > > > > ------------------------------------------------------- > > > > SF email is sponsored by - The IT Product Guide > > > > Read honest & candid reviews on hundreds of IT Products from real > users. > > > > Discover which products truly live up to the hype. Start reading now. > > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > > _______________________________________________ > > > > displaytag-user mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > > > > > > > > > -- > > > Rick Herrick > > > [EMAIL PROTECTED] > > > > > > Proud member of the reality-based community > > > > > > Never try to discourage thinking for you are sure to succeed.--Bertrand > > > Russell > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real users. > > > Discover which products truly live up to the hype. Start reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > _______________________________________________ > > > displaytag-user mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > displaytag-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > _______________________________________________ > displaytag-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/displaytag-user > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

