Tapestry should not persist error messages during XHR requests
--------------------------------------------------------------

                 Key: TAPESTRY-2784
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2784
             Project: Tapestry
          Issue Type: Bug
          Components: Core Components
            Reporter: Ville Virtanen
            Priority: Minor


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).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to