Hello David and everybody, I wonder if dispaytag has modified anything so that I can do what I want (please read my email below to understand my problem). David: did displaytag applied your patch yet? And could you please tell me the idea of your patch? I explain my problem again: the data I want to display contains too many rows (e.g. 30K). If I put all those 30K rows in the session, whenever I go to any other page, displaytag needs a long time to do that. So what I want is to display page 1 - 10 (10 rows/page) and the session only contains 100 rows. If the user goes within page 1 - 10, the data in the session is still the same. If the user goes to page 11, displaytag will display page numbers from 11 to 20 and tell me about that so that I can feed displaytag with rows 101 - 200 by putting them in the session.
>>> [EMAIL PROTECTED] 7/6/2005 2:31:38 PM >>> I submitted a patch to do just what you are interested in on Monday.. its currently under review and will hopefully be put in sometime this weekend into cvs. -David > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:displaytag-user- > [EMAIL PROTECTED] On Behalf Of Thai Dang Vu > Sent: Wednesday, July 06, 2005 12:17 PM > To: [email protected] > Subject: [displaytag-user] An issue when using paging > > Hello everybody, > > I am in a difficult situation and I might need your advices. > > I make a sql query and the returned result contains up to 30 thousand > records or sometimes more. So to do the paginating, I put those 30K > records in the session. What I want is when I make that query, the result > contains only the first 1000 records (I can do this in my programs) and > display tag will paginate them in 100 pages. When I go to page 100, the > paging banner display from page, for example, 95 to 105. I want display > tag notify me which pages are on the paging banner so that I can go to the > database and get the appropriate data for those pages. > > Can it be done with display tag? > > Sincerely, > > Thai > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > displaytag-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

