Use onsubmit() instead of submit. Untested but it should work. Or look at how I do it in FlowLogix DisableAfterSubmit mixin
On Jun 24, 2013, at 4:32 PM, Boris Horvat <horvat.z.bo...@gmail.com> wrote: > Basically the code given bellow will throw an exception stating that this > is not an ajax request > > > <t:zone t:id="zone"> > <form t:id="form" t:type="form" t:zone="^"> > <t:textfield t:value="value" onblur="this.form.submit();"/> > <input t:type="submit" value="Save"/> > </form> > > value: ${value} <br /> > </t:zone> > > --------------------------------------------------------- > > @Property > @Persist > private String value; > @InjectComponent > private Zone zone; > > Object onSuccess() { > return zone.getBody(); > } > ---------------------------------------------- > > Is there any way to submit a form using onblur event as ajax? > > Cheers > > -- > Sincerely > *Boris Horvat* --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org