Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Tapestry persists the error messages that result from form validation to support the post redirect get paradigm, which is correct and expected behavior. However, this is not the correct nor most efficient way to handle things during AJAX requests, as the response is rendered out during the same request.
This was discussed with Thiago on the mailing list:
http://tapestry.1045711.n5.nabble.com/T5-3-rc-3-Error-messages-and-AJAX-td4974222.html
I dont see any side effects of this, but the least that must be done is to prevent the persistence when the errors are red during the same request. Now the errors are present on subsequent request too (shown twice).