Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE 1.3.0.GA_P01
    • Fix Version/s: 1.3.1
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      n/a

      Description

      The CSSURLMapper used to parse the CSS and convert relative resource paths to JSF resource paths has several parsing errors and will output some invalid URLs.

      @font-face {
        font-family: 'FontAwesome';
        src: url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']}');
        src: url('#{resource['org.icefaces.component.skins']}') format('embedded-opentype'), url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.woff']}') format('woff'), url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.ttf']}') format('truetype'), url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.svg']}') format('svg');
        font-weight: normal;
        font-style: normal;
      }

        Activity

        Hide
        Philip Breau added a comment -

        Following warnings are also resolved:

        Mime-type warnings Hi Philip.
        Just wondering if you want a jira for this (from icemobile trunk):-
        WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins/android_light/fontawesome-webfont.eot?#iefix. To resolve this, add a mime-type mapping to the applications web.xml.
        Jan 10, 2014 2:00:46 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
        WARNING: JSF1064: Unable to find or serve resource, org.icefaces.component.skins/android_light/fontawesome-webfont.eot?#iefix.

        I get other warnings when using the fedex snapshot branch but it doesn’t occur with the trunk.
        Jan 10, 2014 2:32:51 PM com.sun.faces.context.ExternalContextImpl getMimeType
        WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins. To resolve this, add a mime-type mapping to the applications web.xml.
        Jan 10, 2014 2:32:51 PM com.sun.faces.context.ExternalContextImpl getMimeType
        WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins. To resolve this, add a mime-type mapping to the applications web.xml.

        Show
        Philip Breau added a comment - Following warnings are also resolved: Mime-type warnings Hi Philip. Just wondering if you want a jira for this (from icemobile trunk):- WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins/android_light/fontawesome-webfont.eot?#iefix. To resolve this, add a mime-type mapping to the applications web.xml. Jan 10, 2014 2:00:46 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource WARNING: JSF1064: Unable to find or serve resource, org.icefaces.component.skins/android_light/fontawesome-webfont.eot?#iefix. I get other warnings when using the fedex snapshot branch but it doesn’t occur with the trunk. Jan 10, 2014 2:32:51 PM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins. To resolve this, add a mime-type mapping to the applications web.xml. Jan 10, 2014 2:32:51 PM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins. To resolve this, add a mime-type mapping to the applications web.xml.
        Hide
        Philip Breau added a comment -

        after fix:

        @font-face {
        font-family: 'FontAwesome';
        src: url('#

        {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']}');
        src: url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']}

        ?#iefix') format('embedded-opentype'), url('#

        {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.woff']}

        ') format('woff'), url('#

        {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.ttf']}

        ') format('truetype'), url('#

        {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.svg']}

        ') format('svg');
        font-weight: normal;
        font-style: normal;
        }

        Show
        Philip Breau added a comment - after fix: @font-face { font-family: 'FontAwesome'; src: url('# {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']}'); src: url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']} ?#iefix') format('embedded-opentype'), url('# {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.woff']} ') format('woff'), url('# {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.ttf']} ') format('truetype'), url('# {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.svg']} ') format('svg'); font-weight: normal; font-style: normal; }
        Hide
        Philip Breau added a comment -

        Revision: 39773
        Author: philip.breau
        Date: January-24-14 12:51:30 PM
        Message:
        MOBI-1001
        CSSURLMapping Issues

        • fix url mapper to handle URL query parameters

          Modified : /icefaces4/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java

        Show
        Philip Breau added a comment - Revision: 39773 Author: philip.breau Date: January-24-14 12:51:30 PM Message: MOBI-1001 CSSURLMapping Issues fix url mapper to handle URL query parameters Modified : /icefaces4/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java
        Hide
        Philip Breau added a comment -

        Revision: 39772
        Author: philip.breau
        Date: January-24-14 12:47:53 PM
        Message:
        MOBI-1001
        CSSURLMapping Issues

        • fix url mapper to handle URL query parameters

          Modified : /icemobile/trunk/icemobile/lib
          Modified : /icemobile/trunk/icemobile/lib/generator/cssurlmapper.jar

        Show
        Philip Breau added a comment - Revision: 39772 Author: philip.breau Date: January-24-14 12:47:53 PM Message: MOBI-1001 CSSURLMapping Issues fix url mapper to handle URL query parameters Modified : /icemobile/trunk/icemobile/lib Modified : /icemobile/trunk/icemobile/lib/generator/cssurlmapper.jar
        Hide
        Philip Breau added a comment -

        Revision: 39771
        Author: philip.breau
        Date: January-24-14 12:44:13 PM
        Message:
        MOBI-1001
        CSSURLMapping Issues

        • fix url mapper to handle URL query parameters

          Modified : /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java
          Modified : /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/UrlOccurrence.java

        Show
        Philip Breau added a comment - Revision: 39771 Author: philip.breau Date: January-24-14 12:44:13 PM Message: MOBI-1001 CSSURLMapping Issues fix url mapper to handle URL query parameters Modified : /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java Modified : /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/UrlOccurrence.java

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: