You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Ludwig (JIRA)" <ji...@apache.org> on 2011/01/03 12:58:46 UTC
[jira] Commented: (WICKET-1894) AjaxFallbackButton: inconsistent
submit order
[ https://issues.apache.org/jira/browse/WICKET-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976708#action_12976708 ]
Sven Ludwig commented on WICKET-1894:
-------------------------------------
I am interested in the changes that have been made to fix this. Which classes/files have been changed?
(btw 1.4.15 and 1.5-M4 seem to be missing at http://svn.apache.org/repos/asf/wicket/releases/ )
> AjaxFallbackButton: inconsistent submit order
> ---------------------------------------------
>
> Key: WICKET-1894
> URL: https://issues.apache.org/jira/browse/WICKET-1894
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.5, 1.4.7
> Reporter: Stefan Fussenegger
> Assignee: Igor Vaynberg
> Priority: Minor
> Fix For: 1.4.15, 1.5-M4
>
> Attachments: Quickstart.zip
>
>
> I just stumbled upon a problem with a Form containing a nested Form and two AjaxFallbackButtons (submit and preview). I need to implement different onSubmit() behavior of the nested Form depending on the clicked button.
> The order of onSubmit() calls is:
> without JS:
> - AjaxFallbackButton.onSubmit(AjaxRequestTarget,Form)
> - OuterForm.onSubmit() // not used
> - Inner Form.onSubmit()
> with JS:
> - Inner Form.onSubmit()
> - OuterForm.onSubmit() // not used
> - AjaxFallbackButton.onSubmit(AjaxRequestTarget,Form)
> With JS, it is therefore not possible to determine which button was clicked from inside a form's onSubmit() method.
> see also http://www.nabble.com/AjaxFallbackButton%3A-inconsistend-submit-order-td20131329.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.