<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script PUBLIC
"-//Apache Software Foundation//Tapestry Script Specification 3.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Script_3_0.dtd">
<script>
<initialization>
onLoadHandler();
</initialization>
</script>Can you have a script component without a <body> defined?
Thanks, e.
On Apr 1, 2005, at 4:48 PM, 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]
