Well, you can do it. But it is a bit tricky. One solution would be to call a Struts Action from the displaytag generated hrefs (the sorting and paging hrefs) and add the filter criteria to them. See the docs how to add (or even exclude) parameters and to use another href (the Action in your case). The Action then would extract the parameters and apply the filter to the report.
Hope that helps. There are of course different solutions to your problem, but that was the one that came straight to my mind. Cherrs Bastian > -----Original Message----- > From: Geno Timlin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 18, 2005 4:27 PM > To: [email protected] > Subject: [displaytag-user] Can displaytag do this? > > > I've reviewed the documentation and believe your displaytag > code could be very helpful in the project I'm currently > working on. But I have a scenario that didn't seem to be > documented. In our struts-based application, the user is > presented with a form to add criteria to the report. When > the form is POSTed, the struts action class uses the form > criteria to fill the collection of business objects. The > user is then sent back to the same page which contains the > form and now displays the report data. We keep the struts > form in the session scope and the report data collection in > the request. > > If I want to implement sorting and/or paging with your > displaytag, when the user clicks on a sortable column, will > the struts form POST again? If not, will the struts action > still be able to filter the report data with the form criteria? > > Thanks, > > Geno Timlin > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from > ThinkGeek. It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > displaytag-user mailing list [email protected] > https://lists.sourceforge.net/lists/listinfo/displaytag-user > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

