I haven't done this, but if I were trying to post every 30 seconds, i would use the setInterval ( expression, interval ) function. One way to add javascript in your form is to implement: protected IAjaxCallDecorator getAjaxCallDecorator(). I think the suggestion was to look at the code in ajaxsubmitlink to learn how wicket submits the form.
---------------------------------------- > Date: Mon, 10 Aug 2009 20:50:24 -0700 > From: [email protected] > To: [email protected] > Subject: Re: submit a form using ajax > > > Any luck with this one? > I can't figure out how to do it... > > > igor.vaynberg wrote: >> >> you have to wire a bit of javascript to do this from the timer, see >> how ajaxsubmitlink does it... >> >> -igor >> >> On Tue, Jun 9, 2009 at 6:39 AM, Juri Prokofiev wrote: >>> I'm trying to save form values every 30 seconds and for this purpose >>> I use AbstractAjaxTimerBehavior class, but can't figure out how to >>> get the form values if submit button wasn't pressed? >>> >>> Thank you >>> -- >>> http://www.autoladu.ee - kõik varuosad ühes kohas >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > -- > View this message in context: > http://www.nabble.com/submit-a-form-using-ajax-tp23943077p24911252.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] > _________________________________________________________________ Get your vacation photos on your phone! http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
