Thanks! 1 mistake down... a few to go...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ralph Bean Sent: Friday, 5 May 2006 2:08 AM To: [email protected] Subject: [displaytag-user] RE: Examples of external sorting and paging I've been having many of the same problems as you, David. But one thing I noticied in your post was calculating the first record with pageNumber * PAGE_SIZE For page number 1 with a page-size of 7, you will actually start on record 7, not record 0. Try, (pageNumber - 1 ) * PAGE_SIZE. This may also fix your empty last couple pages as their indices would have gone beyond the actual size of your recordset. Please keep me updated with any luck you have getting external sorting and paging fully functional. -- View this message in context: http://www.nabble.com/RE%3A-Examples-of-external-sorting-and-paging-t155 3531.html#a4232254 Sent from the DisplayTag - General forum at Nabble.com. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

