you can use the Script component
http://jakarta.apache.org/tapestry/3.0.3/doc/ComponentReference/Script.html
create a .script file
and add javascript that you want triggered when body loads in the
<initialization> section of the .script file.

Detlef Schulze wrote:

>Hi,
>
>I need to add a javascript to a page (that uses shell/body components)
>and trigger it via body=onLoad (this is done for transaction tracking
>via google analytics).
>
>I've searched a bit but did not find an easy solution how to do that.
>Could someone point me to the right place?
>
>I am using tap 3 ....
>
>
>Cheers,
>detlef
>
>---------------------------------------------------------------------
>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]

Reply via email to