[ https://issues.apache.org/jira/browse/WICKET-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980041#action_12980041 ]
Pedro Santos commented on WICKET-3320: -------------------------------------- Form submitted by an AJAX submit link working fine here with Google Chrome 5.0.375.70 and 8.0.552.224 > 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.