Is there any example code of external sorting and paging?

I'm working on some at the moment, but finding the documentation a little 
thin...

Initial problems are:

1. How to get the toolbar to show the correct row numbers... currently I'm 
always getting stuff like this:

25,344 items found, displaying 1 to 50. [ First/ Prev] 13, 14, 15, 16, 17, 18, 
19, 20 [ Next / Last ]   

It always seems to say "displaying 1 to 50".

What do I have to do to get that working correctly? Are there request 
attributes I should set (like when I do size="resultSize")?


2. Pages seem to get out of sync towards the end of the list. I find that the 
last 2 or 3 pages all say "0 items". Why would that be? It only happens 
sometimes.


3. Exporting the whole thing to Excel... I only just found this out, and it's 
gonna cause me some grief, I think. I want the end user to be able to page 
through the large datasets (25K + rows), but then to be able to download the 
WHOLE thing. With external paging on, I only get to download the current page.

I'm guessing that my workaround is going to be to take them to a "slow" page 
that just loads the works, with the excel option turned on.


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

Reply via email to