myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavitra Subramaniam (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2294) AFLogo selector uses a 'relative url' notation when a 'context relative url' is more desirable.
Date Wed, 25 Jul 2012 01:55:34 GMT
Pavitra Subramaniam created TRINIDAD-2294:
---------------------------------------------

             Summary: AFLogo selector uses a 'relative url' notation when a 'context relative
url' is more desirable.
                 Key: TRINIDAD-2294
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2294
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Skinning
    Affects Versions: 2.0.1-core,  1.2.12-core
            Reporter: Pavitra Subramaniam


The skin selector - .AFLogo - defined in simple-desktop.xss defines the property 'background-image'
using a relative url notation, as follows

  <style selector=".AFLogo">
    <property name="background-image">url('../../images/logo-dark.png')</property>

The above usage runs into problems when images along with other resources get hosted on a
CDN for example. It's desirable in this case to use a context relative url (as explained here
- http://myfaces.apache.org/trinidad/devguide/skinning.html#urls)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message