Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1451

Form component should indicate that a form submission was canceled on the client side

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.4
    • 5.3
    • tapestry-core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              hlship Howard Lewis Ship
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: