2 Replies Latest reply on Apr 3, 2009 3:49 AM by Adam Michalik

    XCSS not being loded as CSS

    Adam Michalik Newbie

      I'm deploying an exploded WAR inside an EAR to JBoss AS 5.0.1, using Seam 2.1.1 and Richfaces 3.2.2.SR1. I have a XCSS file in <war project>/WebContent/stylesheet/theme.xcss that is deployed to <deploy dir>/<project-ear.ear>/<project.war>/stylesheet/theme.xcss. In XHTML page I use <a:loadStyle src="resource:///stylesheet/theme.xcss" />. However, the XCSS is not converted to CSS and the styles are not applied. The generated page contains only raw

      <link class='user' rel='stylesheet' type='text/css' href='/vpadmin/stylesheet/theme.xcss' />

      Any mistake I make? The only hints I found were to use the resource:// prefix, which I do.