Tapestry
  1. Tapestry
  2. TAPESTRY-2459

Submit components fires its event after "validateform" event, should be before (this is a change from prior releases)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 5.0.13
    • Fix Version/s: 5.0.14
    • Component/s: tapestry-core
    • Labels:
      None
    • Environment:
      Every

      Description

      The order (timing) of the selected event fired by the Submit
      components has changed.
      It fires after the validateform event.
      The old behavior was the opposite as stated in the documentation of
      the component.

      This seems caused by TAPESTRY-2311.

      For replicating the error simply put a submit component inside a form
      which has both the onValidateForm and onSuccess event handler methods
      and you'll see the onSelected event handler method called after the
      onValidateForm but before the onSuccess.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development