[ 
https://issues.apache.org/jira/browse/WICKET-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032729#comment-13032729
 ] 

Peter Ertl commented on WICKET-3705:
------------------------------------

I changed the code so form submit processing goes from innermost (most deeply 
nested form) to outermost (topmost form) and invisible or disabled forms to not 
get Form#onSubmit() invoked. Basically that's the way it was before.

Only difference is that now in case the submit is caused by a form submitting 
component (instead of a default submit using basic html behavior) we traverse 
the form the submitting component is bound to (which could be different from 
the form the submitting component is added to).

> 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