Have a look at this example (if javascript is an option): http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/creatingmixins1
Sigbjørn Tvedt On Mon, Aug 30, 2010 at 1:57 PM, joris <jogo...@web.de> wrote: > Yes, the client validation is the biggest problem. I tried something > similar. I disable the submit button for 2 seconds, to work around the > client site validation problem. I get it work for IE and Firefox, but in > Chrome it doesn't work. > > Event.observe(window, 'load', function() { > $$("input[type=submit]").each(function(submit) { > Event.observe(submit, 'click', function() { > submit.disable(); > window.setTimeout(function() { > submit.enable(); > }, 2000); > if(Prototype.Browser.IE){ > submit.form.submit(); > } > }); > }); > }); > > > Am Montag, den 30.08.2010, 04:14 -0700 schrieb LLTYK: > > I have a hidden div with a "Processing" message, then I listen for submit > > events and pop the div into view, blocking off the page until it > redirects. > > Although I haven't figured out how to get to mesh will with client side > > validation, where I'd get an event but the form would not submit due to > an > > error (probably listening to wrong event). > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >