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-t1553531.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

Reply via email to