Re: Preventing Form Resubmission

2009-09-24 Thread Benny Law
This is a very informative article. Thanks for sharing, Sebastian. Benny On Thu, Sep 24, 2009 at 7:32 AM, Sebastian Hennebrueder wrote: > Hello, > > I described an approach without using Javascript. > > http://www.laliluna.de/tapestry-webframework-evaluation-test.html > > Best Regards > > Sebast

Re: Preventing Form Resubmission

2009-09-24 Thread Sebastian Hennebrueder
Hello, I described an approach without using Javascript. http://www.laliluna.de/tapestry-webframework-evaluation-test.html Best Regards Sebastian Benny Law schrieb: Thanks Geoff. I can't access this link for some reason, but I'll try again later. Here is my JavaScript (feel free to critique)

Re: Preventing Form Resubmission

2009-09-23 Thread Benny Law
Thanks Geoff. I can't access this link for some reason, but I'll try again later. Here is my JavaScript (feel free to critique): document.observe("dom:loaded", function() { $$("form").invoke("observe", "submit", function(event) { if (this.submitted) { event.stop();

Re: Preventing Form Resubmission

2009-09-23 Thread Geoff Callender
Tapestry doesn't. Here's a solution that uses a mixin. The mixin's JavaScript might be similar to yours. http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/creatingmixins1 Cheers, Geoff On 24/09/2009, at 7:34 AM, Thiago H. de Paula Figueiredo wrote: Em Wed, 2

Re: Preventing Form Resubmission

2009-09-23 Thread Thiago H. de Paula Figueiredo
Em Wed, 23 Sep 2009 18:07:34 -0300, Benny Law escreveu: I was wondering if Tapestry automatically prevents a form from being submitted more than once (like when you press the Enter key quickly a few times when you are in a text field)? In my quick test, it seemed that something was providing