Details
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;
}
@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;
}
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.