I am using a combination of displaytag features - pagination, export,
PaginatedList.
While using pagination, I am not feeding the displaytag with the entire list
of objects. Instead, I am supplying the displaytag only with those
set of objects which are pertinent to the current page. For this, I used the
feature of PaginatedList.
Code Flow
1> User requests the list using a serch criteria
2> Request goes to Action Class ->DAO -> dao fetches only a page of recrods
-> Wrap the records returned in PaginatedList Object
3> submit the object to display tag, which displays paginated object with
links to subsequent pages.
4> When User clicks the next pages, steps 2,3 follow.
Now, I am also providing an export option to the user and I want this export
option to export the entire list of records insted of a page of records.
The display tag configuration has an attribute
export.amount to be set either to a "page" or a "list" value. If it is set
to "list", the documentation says that display tag is going to export the
entire list of
objects and not just a page. However, I want to know the underlying
assumption in this.
Is the above export.amount functionality works only when entire list of
objects is supplied to display tag?
Is there a way to use export.amount=list and PaginatedList together?
Any suggestions ?
Can I extend some Export class and supply it with the whole list insted of a
page ?
Thanks,
Nallan
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user