Form component should indicate that a form submission was canceled on the
client side
-------------------------------------------------------------------------------------
Key: TAP5-1451
URL: https://issues.apache.org/jira/browse/TAP5-1451
Project: Tapestry 5
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.2.4
Reporter: Howard M. Lewis Ship
Although it is possible to determine that a form has been cancelled by
providing a listener to the appropriate Submit/LinkSubmit component, that will
often occur after other parts of the form have resulted in updates to
server-side properties. That may be valid is some circumstances, but it would
be nice if there was an early event notification from the Form that indicated a
client-side cancel so that the processing of the form's data could be avoided
entirely. That is the more general case: no updates to anything on the server
side when a client-side form is canceled ... but there is not currently a
simple way to determine this.
What's needed is a special parameter included in the form submission to
indicate that the form was cancelled.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira