You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jamie Orchard-Hays <ja...@dang.com> on 2004/08/05 20:15:28 UTC

Re: Javascript Question.

Although I haven't done this, I think you could make a component with
.script files for the javascript code and implement it that way. If you need
to use the script file in multiple components, just reference the script
from each component. NumberValidator is one example.



Jamie


----- Original Message ----- 
From: "Travis Romney" <tr...@inpowered.com>
To: <ta...@jakarta.apache.org>
Sent: Thursday, August 05, 2004 2:28 PM
Subject: Javascript Question.


> I have several custom components that use javascript.
> Many of these components share common functions. Does anyone know
> of a way to create a sort of global javascript include, so that
> the functionality for these shared functions doesn't get repeated
> multiple times on a page?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org