Re: T5:how to call ajax callback function after form submit

2009-09-28 Thread cleverpig
so i would find a generic way to call javascript function after ajax reponse returned. just like callback function in prototype's ajax. 2009/9/28 cleverpig : > On Mon, Sep 28, 2009 at 10:36 PM, Juan E. Maya wrote: >> >> Look for Double submit handling on >> http://www.laliluna.de/tapestry-webfram

Re: T5:how to call ajax callback function after form submit

2009-09-28 Thread cleverpig
On Mon, Sep 28, 2009 at 10:36 PM, Juan E. Maya wrote: > > Look for Double submit handling on > http://www.laliluna.de/tapestry-webframework-evaluation-test.html > That's is probably what u need then oh,i'd saw it..but it used submit id to prevent user from double submit.. and my question is not d

Re: T5:how to call ajax callback function after form submit

2009-09-28 Thread Juan E. Maya
Look for Double submit handling on http://www.laliluna.de/tapestry-webframework-evaluation-test.html That's is probably what u need then On Mon, Sep 28, 2009 at 3:32 PM, cleverpig wrote: > hi,Juan! > > thank for your reply! i saw the mixin you finger out. :) > but i will find a generic way to pro

Re: T5:how to call ajax callback function after form submit

2009-09-28 Thread cleverpig
hi,Juan! thank for your reply! i saw the mixin you finger out. :) but i will find a generic way to protect user from resubmit the data in next turn,just not double click in one time. 2009/9/28 Juan E. Maya : > Jumpstart has Mixin to avoud double click problems. > http://jumpstart.doublenegative.c

Re: T5:how to call ajax callback function after form submit

2009-09-28 Thread Juan E. Maya
Jumpstart has Mixin to avoud double click problems. http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/creatingmixins1 Also Sebastian sent on the past days a solution that doesn't use Javascript On Mon, Sep 28, 2009 at 4:52 AM, cleverpig wrote: > hi,dear buddies! > > I had

Re: T5:how to call ajax callback function after form submit

2009-09-27 Thread cleverpig
hi,all! i made a simple way just now: in the page class,so event can make a script call when it returned to page div: ... @CommitAfter @OnEvent(component="scripEditForm",value="submit") public Object onSubmitEvent(){ log.debug("onSubmitEvent...selectCatId="+

T5:how to call ajax callback function after form submit

2009-09-27 Thread cleverpig
hi,dear buddies! I had a bean edit form to save my entity,and added div by using ajax zone to show what's the submit response. such as: ... > ... after the form submit,response div would display this text:"ok,data was saved!". it works normally. but here