You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Michal Hlavac <hl...@medium13.sk> on 2005/01/09 19:16:11 UTC
Javascript and Shell
Hello,
I have javascript in /js/script.js
I am using Shell component to fill <head>..</head> tags...
How can I add tag <script language="JavaScript"
src="/js/script.js"></script> into <head>..<head/> tag????
thanks, miso
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Javascript and Shell
Posted by Shing Hing Man <ma...@yahoo.com>.
You can set the shell component parameter
delegate to a Java class that implements the
org.apache.tapestry.IRender interface.
IRender has a render method to output html in the
<header> tag.
Shing
--- Michal Hlavac <hl...@medium13.sk> wrote:
> Hello,
>
> I have javascript in /js/script.js
>
> I am using Shell component to fill <head>..</head>
> tags...
> How can I add tag <script language="JavaScript"
> src="/js/script.js"></script> into <head>..<head/>
> tag????
>
> thanks, miso
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
>
>
=====
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org