[ 
https://issues.apache.org/jira/browse/WICKET-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Ertl resolved WICKET-3705.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC5

Fixed in trunk.

The test cases report no errors so far. We had a few differences between 1.4 
and 1.5. Should be similar again.

The only remaining difference I see is a different order in processing of the 
submit:

- First AjaxSubmitLink#onSubmit is invoked
- Secondly, Form#onSubmit is invoked

We also have a test case that demands this order:

  FormWithMultipleButtonsTest#testAjaxFallbackButtonInvokedFirst

It points to https://issues.apache.org/jira/browse/WICKET-1894 where this order 
is also required.

So the processing order is different in 1.5 but I think this still is correct.

If you can confirm that, too, we probably should mention that in the migration 
guide.


> AjaxSubmit in modal window doesn't call form.onSubmit() before ending request
> -----------------------------------------------------------------------------
>
>                 Key: WICKET-3705
>                 URL: https://issues.apache.org/jira/browse/WICKET-3705
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core, wicket-extensions
>    Affects Versions: 1.5-RC4
>            Reporter: Martijn Dashorst
>            Assignee: Peter Ertl
>             Fix For: 1.5-RC5
>
>         Attachments: myproject-1.4.tgz, myproject.tgz
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to