Tapestry 5
  1. Tapestry 5
  2. TAP5-1451

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.4
    • Fix Version/s: 5.3
    • Component/s: tapestry-core
    • Labels:
      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.

        Activity

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development