You may want to look at AjaxFormSubmitBehavior. If you can't use that directly, the code might give you an idea of how to write your Javascript to do form submissions manually.
On Wed, Nov 26, 2008 at 6:27 AM, dshapi <[EMAIL PROTECTED]>wrote: > > hi, > I need to trigger the post of a form - from the client side with java > script > , but all the solutions that i have found don't work with wicket. > i have tried " document.forms['commentForm'].submit(); " in script -> > doesn't work. > (when commentForm is the name of the form that is generated in the mark up > of the wicket ). > > i all sow tried to trigger the submit button that is in the form but > ".click()" doesn't work, > i have managed only to trigger Links with window.location = link.href; > > any ideas ? > > > -- > View this message in context: > http://www.nabble.com/triggering-post-of-a-form%2C-from-client-side-tp20699113p20699113.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
