Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2294

AFLogo selector uses a 'relative url' notation when a 'context relative url' is more desirable.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.12-core, 2.0.1-core
    • 2.1.0-core
    • Skinning
    • None

    Description

      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)

      Attachments

        1. simple-desktop.xss.patch
          1 kB
          Pavitra Subramaniam
        2. trunk-simple-desktop.css.patch
          7 kB
          Pavitra Subramaniam

        Activity

          People

            jeanne.waldman@oracle.com Jeanne Waldman
            pasubra Pavitra Subramaniam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: