Wicket
  1. Wicket
  2. WICKET-3705

AjaxSubmit in modal window doesn't call form.onSubmit() before ending request

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5-RC4
    • Fix Version/s: None
    • Component/s: wicket, wicket-extensions
    • Labels:
      None

      Description

      When a AjaxSubmitLink is used to submit a form inside a ModalWindow, and inside the AjaxSubmitLink#onSubmit() the window is closed, wicket doesn't call Form.onSubmit()

      See attached quickstart for the scenario.

      1. myproject.tgz
        19 kB
        Martijn Dashorst
      2. myproject-1.4.tgz
        19 kB
        Martijn Dashorst
      3. WICKET-3705.patch
        11 kB
        Pedro Santos

        Activity

        Martin Grigorov made changes -
        Fix Version/s 1.5.3 [ 12318550 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5.3 [ 12318550 ]
        Fix Version/s 1.5.2 [ 12318078 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5.2 [ 12318078 ]
        Fix Version/s 1.5.1 [ 12315430 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5.1 [ 12315430 ]
        Fix Version/s 1.5.2 [ 12317975 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5.2 [ 12317975 ]
        Fix Version/s 1.5.1 [ 12315430 ]
        Martin Grigorov made changes -
        Fix Version/s 1.5.1 [ 12315430 ]
        Fix Version/s 1.5-RC8 [ 12317648 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-RC8 [ 12317648 ]
        Fix Version/s 1.5-RC7 [ 12317645 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-RC7 [ 12317645 ]
        Fix Version/s 1.5-RC6 [ 12316657 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-RC6 [ 12316657 ]
        Fix Version/s 1.5-RC5.1 [ 12316651 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-RC6 [ 12316651 ]
        Fix Version/s 1.5-RC5 [ 12316423 ]
        Peter Ertl made changes -
        Assignee Peter Ertl [ pete ]
        Pedro Santos made changes -
        Attachment WICKET-3705.patch [ 12479383 ]
        Peter Ertl made changes -
        Comment [ > Without new test the tests will pass again when someone change the logic

        no, I mentioned

         FormWithMultipleButtonsTest#testAjaxFallbackButtonInvokedFirst

        which will check to submit order ]
        Martin Grigorov made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Peter Ertl made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.5-RC5 [ 12316423 ]
        Resolution Fixed [ 1 ]
        Peter Ertl made changes -
        Assignee Peter Ertl [ pete ]
        Martijn Dashorst made changes -
        Attachment myproject-1.4.tgz [ 12478960 ]
        Martijn Dashorst made changes -
        Field Original Value New Value
        Attachment myproject.tgz [ 12478958 ]
        Martijn Dashorst created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Martijn Dashorst
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development