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