You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <de...@tapestry.apache.org> on 2007/09/22 06:45:50 UTC

[jira] Resolved: (TAPESTRY-1262) Injecting scripts into part

     [ https://issues.apache.org/jira/browse/TAPESTRY-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Andreou resolved TAPESTRY-1262.
---------------------------------------

    Resolution: Fixed

yes you can - 
see http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/html/Shell.html#includeAdditionalContent(java.lang.String)

> Injecting scripts into <head> part
> ----------------------------------
>
>                 Key: TAPESTRY-1262
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1262
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 4.1.1
>            Reporter: Andrea Chiumenti
>             Fix For: 4.2
>
>
> It seems that is not possible to inject via hivemind any script or arbitrary piece of code to the Shell component.
> In the specific case I'm trying to create a jar library that needs to add 
> <head>
> .......
> <script type="text/javascript">
> dojo.registerModulePath("jfly", "/asset.svc?path=%2Fjfly%2F");
> </script>
> <script type="text/javascript" src="/asset.svc?path=%2Fjfly%2Fcore.js"></script>
> <head>
> after the dojo declaration.
> This seem's not to be possible, and it should be nice to have it since it seems that I'm not the only who need this feature.
> Bye,
> kiuma

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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