()));
}
}
} );
-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Thursday, January 20, 2011 9:01 AM
To: users@wicket.apache.org
Subject: Re: Submit form from other form onClick
you can submit any form with pure
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() {
Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Thursday, January 20, 2011 9:01 AM
To: users@wicket.apache.org
Subject: Re: Submit form from other form onClick
you can submit any form with pure javascript:
document.getElementById('myform').submit();
this will call the respective