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

