Re: Using Tapestry.onsubmit(...) in Tapestry 4.0.1 from my Home.script

2006-04-12 Thread Kevin C. Dorff
Mike - thanks for your quick and helpful repsonse. This was exactly the problem. I moved the Script component to just below the Form component and now it works without the window.onload workaround. Kevin On 4/12/06, Mike Snare <[EMAIL PROTECTED]> wrote: > Are you adding the script before adding t

Re: Using Tapestry.onsubmit(...) in Tapestry 4.0.1 from my Home.script

2006-04-12 Thread Mike Snare
Are you adding the script before adding the form to which you wish to add behavior? Can you add it after? I use scripts to add behavior to the onSubmit and have never had this issue. The only thing I can think of to explain it is that I add the script after the form. May not have anything to do

Using Tapestry.onsubmit(...) in Tapestry 4.0.1 from my Home.script

2006-04-12 Thread Kevin C. Dorff
I am just moving my application from Tapestry 3.0.3 to 4.0.1. I have overcome a ton of roadblocks and am figuring all the changes out, but, wondered of somebody can suggest a more elegant solution to a problem I am having. I want to inject a bit of logic during a forms onSubmit. Before I could jus