You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Pedro Santos (JIRA)" <ji...@apache.org> on 2011/01/11 12:31:49 UTC

[jira] Resolved: (WICKET-3320) Ajax form submit does not invoke form, onsubmit in Javascript in Google Chrome

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

Pedro Santos resolved WICKET-3320.
----------------------------------

    Resolution: Invalid

> Ajax form submit does not invoke form, onsubmit in Javascript in Google Chrome
> ------------------------------------------------------------------------------
>
>                 Key: WICKET-3320
>                 URL: https://issues.apache.org/jira/browse/WICKET-3320
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.15
>         Environment: Google Chrome 8.0.552.224 on Windows 7 x64
>            Reporter: Richard Nichols
>
> Similar to previously fixed WICKET-3040 on Firefox, if you create a form with a onsubmit handler, or a bound event hander for submit, it is not invoked by an Ajax Submit Link/Button as expected on submit.
> e.g.
> <form wicket:id="myform" onsubmit="alert('hello world'); return true;">
> ...
>   <a href="#" wicket:id="submit">submit</a>
> </form>
> and...
> class MyForm extends Form {
>   MyForm() {
>     super("myform");
>     add(new AjaxSubmitLink("submit"));
>   }
> }
> Would expect to see "hello world" prior to commit. Works in Firefox since 1.4.12 but not in Chrome.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.