have a look at the DTD for the .script files. There is a command to
place code into the body onload event. You just include your script
compenent and the rest happens for you.
Jamie
Eric Schneider wrote:
Hi,
I'm wondering where in the request cycle it is appropriate to add some
javascript initialization code to my Body component?
Following needs to be tucked into the window.onload on every page:
onLoadHandler();
Also, I need this to work on pages that use Tapestry's validation
stuff (which also makes use of window.onload). Any tips on how I
can get this done?
Thanks,
e.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]