This content has been marked as final.
Show 2 replies
-
1. Re: Loading CSS (and images?) from classpath
sergeysmirnov Jan 6, 2009 12:24 PM (in response to wciesiel)<a4j:loadStyle src="resource:///path/to/my/ccs-file.css" /> <h:graphicImage value="resource:///img/icos/list.png" />
see http://jsfunit.demo.jboss.com/jboss-jsfunit-examples-richfaces/richfaces/style.jsf?c=loadStyle -
2. Re: Loading CSS (and images?) from classpath
wciesiel Jan 7, 2009 6:53 AM (in response to wciesiel)"SergeySmirnov" wrote:
<a4j:loadStyle src="resource:///path/to/my/ccs-file.css" /> <h:graphicImage value="resource:///img/icos/list.png" />
see http://jsfunit.demo.jboss.com/jboss-jsfunit-examples-richfaces/richfaces/style.jsf?c=loadStyle
Thanks mate, I've seen that "resource:" prefix. But I could not find how to specify resources available through such prefixes... In other words - how-to guide to RichFaces Resource Framework (as stated in the documentation of a4j:loadStyle tag).
Thanks for help, I know what RTFM means ;-) but "resource" is so common word, that googling an answer becomes a difficulty...