[
https://issues.apache.org/jira/browse/WICKET-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032899#comment-13032899
]
Martijn Dashorst commented on WICKET-3705:
------------------------------------------
While we certainly will improve our form processing for this particular case,
the issue is that this fails silently in an unexpected manner. While I have the
guts to step into Wicket internals to find out what went wrong and discovered
what went wrong pretty easily (after creating a quickstart), casual users will
not venture that far.
IMO we should revisit visibility/enabled flags in 1.6 (wicket 3?) and maybe try
to move to a more immutable state representation. But for now, I'd rather have
we determine which components need to participate in the form processing
beforehand based on visibility/enabled flags and then call all listeners that
are affected by the submit.
> 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