Ok, I'm returning StreamResponse instead (in onSuccess() method). StreamResponse onSuccess() { form.clearErrors(); .... return new StreamResponse() {
public String getContentType() { return "text/csv;charset=windows-1250"; } public InputStream getStream() throws IOException { return new ByteArrayInputStream(sb.toString().getBytes()); } public void prepareResponse(Response response) { response.setHeader("Content-Disposition", "attachment; filename="+filename); } }; } But again, form.clearErrors() don't work! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Clearing-form-errors-problem-tp4971307p4980522.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