Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2459

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0.13
    • 5.0.14
    • tapestry-core
    • None
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: