[
https://issues.apache.org/jira/browse/TAP5-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060090#comment-13060090
]
Hudson commented on TAP5-1451:
------------------------------
Integrated in tapestry-trunk-freestyle #410 (See
[https://builds.apache.org/job/tapestry-trunk-freestyle/410/])
TAP5-1451: Form component should indicate that a form submission was
canceled on the client side
hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1143161
Files :
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Form.java
*
/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/corelib/components/SubmitTest.java
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/LinkSubmit.java
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/EventConstants.java
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/SubmitMode.java
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/BeanEditForm.java
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/InternalConstants.java
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanEditForm.tml
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java
*
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
> 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
> Assignee: 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