You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gabriele Contini (JIRA)" <de...@myfaces.apache.org> on 2006/06/07 11:29:29 UTC

[jira] Created: (TOMAHAWK-475) Stylesheet doesn't allow external css.

Stylesheet doesn't allow external css.
--------------------------------------

         Key: TOMAHAWK-475
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-475
     Project: MyFaces Tomahawk
        Type: Improvement

  Components: Stylesheet  
    Versions: 1.1.2    
 Environment: Tomcat 5.0.28, SDK 1.5.0_05, Windows 2000
    Reporter: Gabriele Contini
    Priority: Minor


Tag stylesheet always renders a tag HTML link with an attribute href whose value is calculated  in the following way:

<link rel="stylesheet" type="text/css" href="CONTEXT_NAME + PATH_VALUE" />

CONTEXT_NAME = name of the web application context.
PATH_VALUE= value of the attribute path of the t:stylesheet tag.
Thus It's impossible to specify css outside of the web application.  In my opinion if PATH_VALUE is a full http address (for instance it starts with http) tag stylesheet should not prepend the context name.


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