Hi Jenny,
If you're using jspx files, you're probably using facelets? You can create a template that includes the tr:document and put the onload in there. Regards, Freek Segers -----Original Message----- From: Jinghui Yin [mailto:[EMAIL PROTECTED] Sent: dinsdag 29 juli 2008 18:02 To: [email protected] Subject: Re: [Trinidad]<tr:document> onload event Just pinging the thread... What I am looking for is a central place to put my javascript timer, instead of having to put it in every page. Thanks! Jenny On 7/28/08, Jinghui Yin <[EMAIL PROTECTED]> wrote: Hi, I'm working on a project using Trinidad. I'm trying to implement a mechanism to force the session timeout to happen from client side. I implemnted a javascript timer and installed it in onload() event of <tr:document> component. It's working. However, I have to install this timer to the onload() event for EVERY jspx file. There are about 60 pages. It'd be a maintenance nightmare. Is there a better way to achieve this? Like overloading the trinidad onload method, or something? Thanks! Jenny ================================================ The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

