[ 
http://issues.apache.org/jira/browse/TAPESTRY-1080?page=comments#action_12440216
 ] 
            
Andreas Andreou commented on TAPESTRY-1080:
-------------------------------------------

For the first part,
http://tapestry.apache.org/tapestry4.1/components/Style.html and
http://tapestry.apache.org/tapestry4.1/components/Relation.html will do the 
trick.

For javascript, what's wrong with the 
http://tapestry.apache.org/tapestry4.1/components/Script.html component?
Are you suggesting it should accept a .js file as a parameter (instead of a 
.script file) ?

> wish Tapestry shell can add javascripts.
> ----------------------------------------
>
>                 Key: TAPESTRY-1080
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1080
>             Project: Tapestry
>          Issue Type: Wish
>          Components: Framework
>    Affects Versions: 4.1.1
>            Reporter: Jun Tsai
>
> I wish tapestry shell component can add other js such as css.
> add css:
> <component id="shell" type="Shell">
>               <binding name="stylesheets" 
> value="ognl:{assets.base,assets.default}"/>
> </component>
> I wish can add javascriopt:
> <component id="shell" type="Shell">
>               <binding name="javascripts" 
> value="ognl:{assets.js1,assets.js2}"/>
> </component>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to