Wrong order in stylesheet references with custom resource path
--------------------------------------------------------------

                 Key: TOBAGO-212
                 URL: http://issues.apache.org/jira/browse/TOBAGO-212
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Themes
    Affects Versions: 1.0.9
         Environment: All
            Reporter: Helmut Swaczinna
            Priority: Minor


If you use your own resource path to style.css, the
reference to style.css is always listed at first in the HTML page.

For example:
...
>GENA</title><link rel="stylesheet" 
>href="/myapp/mydomain/renderkit/html/mytheme/standard/style/style.css" 
>media="screen" type="text/css"
><link rel="stylesheet" 
>href="/gena/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css"
> media="screen" type="text/css"
><link rel="stylesheet" 
>href="/gena/org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla/style/style.css"
> media="screen" type="text/css"
><link rel="stylesheet" 
>href="/gena/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css"
> media="screen" type="text/css"
><link rel="stylesheet" 
>href="/gena/org/apache/myfaces/tobago/renderkit/html/speyside/mozilla/style/style.css"
> media="screen" type="text/css"
><script 
>src="/gena/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/prototype.js"
> type="text/javascript"
..

But it should be listed at last, after the fallback theme. If you use
the standard resource path /org/apache/myfaces/tobago/renderkit, the
sequence of the references is correct. 

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

        

Reply via email to