Problem parsing 'org.richfaces/calendar.ecss' when using custom skin
jmsjr Oct 23, 2012 2:23 AMI have a custom skin.properties file, which is basically a complete copy of blueSkin.properties, but with the only changes being that font is now only Verdana and font size is set to 10. All other properties remain the same.
I have copied the custom skin.properties file into WEB-INF/classes ( as per https://community.jboss.org/thread/162295 ), and changed my default skin in WEB-INF/web.xml. The pages are now using the new skin, but I am getting these errors in the server.log file:
17:13:49,515 WARNING [org.richfaces.log.Resource] (http--0.0.0.0-8081-2) Problem parsing 'org.richfaces/calendar.ecss' resource: Error in expressi on. Invalid token "=". Was expecting one of: <S>, ",", "/", "+", "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_ CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMEN>, <PERCENTAGE>, <NUMBER>, "rgb(", <FUNCTION>, <IDENT>, <UNICODERANGE>.
17:13:49,518 WARNING [org.richfaces.log.Resource] (http--0.0.0.0-8081-2) Problem parsing 'org.richfaces/calendar.ecss' resource: Error in style ru le. Invalid token "\r\n". Was expecting one of: "}", ";".
17:13:49,520 WARNING [org.richfaces.log.Resource] (http--0.0.0.0-8081-2) Problem parsing 'org.richfaces/calendar.ecss' resource: Ignoring the foll owing declarations in this rule.
17:13:49,523 WARNING [org.richfaces.log.Resource] (http--0.0.0.0-8081-2) Problem parsing 'org.richfaces/calendar.ecss' resource: Error in expressi on. Invalid token "=". Was expecting one of: <S>, ",", "/", "+", "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_ CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIME N>, <PERCENTAGE>, <NUMBER>, "rgb(", <FUNCTION>, <IDENT>, <UNICODERANGE>.
17:13:49,526 WARNING [org.richfaces.log.Resource] (http--0.0.0.0-8081-2) Problem parsing 'org.richfaces/calendar.ecss' resource: Error in style ru le. Invalid token "\r\n". Was expecting one of: "}", ";".
17:13:49,527 WARNING [org.richfaces.log.Resource] (http--0.0.0.0-8081-2) Problem parsing 'org.richfaces/calendar.ecss' resource: Ignoring the foll owing declarations in this rule.
The documentation did not say to create your own ECSS file when creating your custom skins, so I thought it would use the built-in ECSS files that are in richfaces-core-impl-4.2.2.Final.jar
Any ideas ?
Thanks.