You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Pavitra Subramaniam (JIRA)" <de...@myfaces.apache.org> on 2012/09/19 04:30:07 UTC

[jira] [Comment Edited] (TRINIDAD-2294) AFLogo selector uses a 'relative url' notation when a 'context relative url' is more desirable.

    [ https://issues.apache.org/jira/browse/TRINIDAD-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458358#comment-13458358 ] 

Pavitra Subramaniam edited comment on TRINIDAD-2294 at 9/19/12 1:29 PM:
------------------------------------------------------------------------

patch that fixes this issue in 1.2.12.7.0
                
      was (Author: pasubra):
    patch that fixes this issue
                  
> 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:  1.2.12-core, 2.0.1-core
>            Reporter: Pavitra Subramaniam
>         Attachments: simple-desktop.xss.patch
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira