Hi! This is due to HTTP, not Tapestry itself: you cannot have two different responses to the same request. So, you either rerender the page to clear the errors (which calling form.clearErrors() is actually doing, even if you cannot see the results) or returns a binary download (StreamResponse), but not both.
You'll need to write some JavaScript for that, so either the form submission or the file download request is done through JavaScript. Maybe the easiest solution, even if not pretty, is to return null in onSuccess(), rendering a <script> tag with a window.location = [URL which triggers the download] statement. On Mon, Sep 4, 2017 at 4:41 AM, Svein-Erik Løken <sv...@jacilla.no> wrote: > If I record an error for my <t:palette> I cannot find out how to clear > errors (tried form.clearErrors()). > > Because onSuccess returns a StreamResponse to download a file the form > need to have async="false" > > The form should stay open so user can download several files with > different parameters. > > Can anyone help! > > S-E > -- Thiago