I'm using tapestry 5.0 and I have a problem with clearing form errors. When
"Download" button is pressed, and all form validation is OK I need to
download a file. In order to do this in the onSuccess() method I get the
HttpServletResponse object, set it's character encoding, content type etc.
and after that I use its PrintWriter to generate CSV file (I'm using open
CSV Library and it needs Writer object to generate csv). 

But when there where errors in the form, after pressing "Download" button
they are not clearing (even after form.clearErrors() - because I used
PrintWriter and HttpServletResponse and changed their content).

Please can somebody help and tell how to clear these errors ? Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Clearing-form-errors-problem-tp4971307p4971307.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to