I do this:
|
| <c:set value="#{facesContext.externalContext.requestContextPath}"
var="rootPath"/>
| <link href="#{rootPath}/stylesheet/theme.css" rel="stylesheet"
type="text/css" />
| <link href="#{rootPath}/stylesheet/layout.css" rel="stylesheet"
type="text/css" />
|
It may make more sense to put a
| <factory name="rootPath"
value="{facesContext.externalContext.requestContextPath} scope="stateless"/>
|
in components.xml (instead of the c:set) if you'll be using that in a lot of
places.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092294#4092294
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092294
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user