Yes,when you use displaytag actions(sorting,paging etc) ,the form will be 
submitted.So if the criteria change,your result data collection populated with 
new criteria.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geno Timlin
Sent: 18 Ocak 2005 Salı 17:27
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

Reply via email to