You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org> on 2006/01/17 09:34:44 UTC

[jira] Fermé: (FOR-790) Head part is included as many times a contract is used

     [ http://issues.apache.org/jira/browse/FOR-790?page=all ]
     
Cyriaque Dupoirieux closed FOR-790:
-----------------------------------

    Resolution: Won't Fix
     Assign To: Cyriaque Dupoirieux

This behaviour is actually correct.
I have been influenced by the previous version of the dispatcher which was much more (too much) HTML oriented.

For more information on our reflexion :
cf. http://www.mail-archive.com/dev%40forrest.apache.org/msg07545.html

> Head part is included as many times a contract is used
> ------------------------------------------------------
>
>          Key: FOR-790
>          URL: http://issues.apache.org/jira/browse/FOR-790
>      Project: Forrest
>         Type: Improvement
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: Cyriaque Dupoirieux
>     Assignee: Cyriaque Dupoirieux
>     Priority: Minor
>      Fix For: 0.8-dev

>
> Example :
> In the search contract - which is used twice in the pelt theme (as locations examples), the getBlank.js file is, also, included twice.
>  <forrest:content>
>      <forrest:part xpath="/html/head">
>          <script type="text/javascript" language="javascript" src="{$root}themes/getBlank.js">&#160;</script>
>       </forrest:part>
> ...
> </forrest:content>
> gives :
>   <script language="javascript" src="../themes/getBlank.js" type="text/javascript"> </script>
>   <script language="javascript" src="../themes/getBlank.js" type="text/javascript"> </script>
> in the head part.

-- 
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