Hi
 
I have been looking at the display tag documentation and it seems a pretty clever and useful set of tags.
 
However I've not seen exactly what I'm looking for, but I wonder if the facility is there.
 
I have a web app search mechanism that performs a query. What is returned is an array of ids representing the objects that are the results of the search.
The first N of these objects are loaded from the database and forwarded to a results.jsp which displays them a table along with a " Previous 1 2 3 .... N Next " set of links enabling the user to select which part of the results they want to see next. Each link results in a request along the lines of /NextPageOfResults.do?pageNumber=5. This takes from the ids array the fifth page of ids and loads the objects from the database and then forwards to results.jsp again.
Can this mechanism be replaced using the displaytag API. Currently what I've seen seems to require a full load of objects before scrolling takes place I am not happy to hold 5000 objects per user search in memory. I would like to use the api as it is neater and offers extra functionality that I would not have time to build myself.
 
Thx in advance.
 
Kevin


--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender. 3167
--------------------------------------------------------------------------------

------

Reply via email to