Hello,
in my application I need to cope with the paginated table with possibly more
than 1000 rows. I really don't want to go and fetch all records at once,
instead I want to pull only the  appropriate page from database. However,
all the samples I found, fetched all the data at once.
There should be no problem in determining the number of page to get, as it
is passed as the request attribute. The problem however is, how to make
displaytag render the correct table header (info about number of records
fetched + links). One solution could be overriding the List.size() method to
return the number of records in database - but that would only solve one
half of the problem (displaying the number of records found). I don't know
how to make displaytag render the correct pagination links.
This seems to be a common problem, does anyone have a solution?

The application I am writing is an intranet application, which must follow
the strictly defined visual design guidelines.
Thus I need to create layout like:
table title
-----
number of records found:
-----
table
-----
pagination links

I have been looking through various configuration options, but I can't find
a way how to split the header (it is called banner in the docs) into two
separate parts, and position each independently.

Thank you for your time and help.
Regards
-- 
Tomas Kramar
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to