You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Howard M. Lewis Ship" <hl...@attbi.com> on 2003/03/24 18:50:05 UTC
RE: Javascript script include
There isn't a good way to do this, currently. This should be a feature of
the Body component.
The Body component can include private assets but not context assets. I'm
looking into reorganizing that stuff shortly.
The Body component puts the <script> tags between the </head> and the <body>
tags. Off the top of my head, I don't know if this is valid for XHTML or
not.
--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/proposals/tapestry
> -----Original Message-----
> From: Ariel Pablo Klein [mailto:apklein@luminafinance.com]
> Sent: Monday, February 10, 2003 11:09 AM
> To: Tapestry users
> Subject: Javascript script include
>
>
> Wich component I have to use and how to include a Javascript
> File (not to include or use a .Script file) like doing manually this:
>
> <html>
> <head>
> <script language="javascript" src="/js/myfunctions.js" />
> <script language="javascript" src="/js/myfunctions2.js" />
> <script language="javascript" src="/js/myfunctionsx.js" />
> </head>
> <body>
> ...........
> ...........
> .......
> ...........
> ...........
> </body>
> </html>
>
> If I can do this creating a .Script file, please post an
> example please
>
> Thanks
> Ariel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>