[jboss-user] [JBoss Tools (users)] - Re: Visual Editor: Problem with stylesheet path and multiple

asgeirf do-not-reply at jboss.com
Mon Nov 10 02:51:39 EST 2008


"max.andersen at jboss.com" wrote : if you are using JBT 3 beta you should be able to setup a EL expression for the pages in a specific folder.
  | 
  | See http://docs.jboss.org/tools/whatsnew/vpe/vpe-news-3.0.0.Alpha1.html for details.
  | 

Great, thanks!

This seems to work fine for images etc, but I can't get it to work for CSS.

1) Setting the actual run-time absolute folder (pr project) to my 'view' folder
2) Setting the el expression (pr project) request.contextPath to empty string (no value)

<img src="#{request.contextPath}/img/banner.png"/>
  | <link rel="stylesheet" type="text/css" href="#{request.contextPath}/stylesheet/theme.css"/>

(I'm on #jbosstools on IRC if you'd like to help debug this further)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188016#4188016

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188016



More information about the jboss-user mailing list