you can submit any form with pure javascript: document.getElementById('myform').submit(); this will call the respective myForm.onSubmit() method at the server side
at server side you may call directly your methods e.g. new Form() {onSubmit() { myService.do(); }} new AjaxLink() {onClick() { myService.do(); }} no need to call Wicket methods On Thu, Jan 20, 2011 at 2:49 PM, Brown, Berlin [GCG-PFS] < berlin.br...@primerica.com> wrote: > Is there a way to manually submit a form. E.g. normally we would have > action handler methods onSubmit (on a button or a form). > > E.g. > > new AjaxLink() { > onClick() { > someOtherForm.submit(); > } > } > > Berlin Brown >