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

Pedro Santos updated WICKET-3705:
---------------------------------

    Attachment: WICKET-3705.patch

This problem can be addressed by freeze the component tree state while 
processing the form. It can be done by queuing state change actions to be 
applied only after the form processing end.
I'm sending a patch with an initial implementation that already solves this 
ticket problem and test cases preventing it.

@devs, what do you think about this strategy to increase the state consistency 
while processing the form? If it is OK then we can start coding the real 
solution (the patch is only to show up this idea in code).

> 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: WICKET-3705.patch, 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