-
1. Re: CSS & header injection
antoine_h Mar 3, 2007 2:00 PM (in response to fahlen)you may have to add the servlet root path, of the servlet (webapp) that deliver the css file.
did you try it ?
that is :
/ProcesosInternos/WEB-INF/css/Styles.css
instead of "ProcesosInternos", it should rather be the name of the web app.
the <display-name> that is in the web.xml file.
sometime, there must be a "_" before the name.
/_ProcesosInternos/WEB-INF/css/Styles.css
you can look in one of the html page that is produce by the portal, how it is done for the layout css file. See there how it is written for those layout and theme css files. -
2. Re: CSS & header injection
fahlen Mar 6, 2007 10:14 AM (in response to fahlen)Thank you for your reply. The name ProcesosInternos, actually is the name of my web application. I've tried changing the path for the CSS in all kinds of ways, but to no avail. If I find what I'm doing wrong, I'll let you know...
-
3. Re: CSS & header injection
theute Mar 6, 2007 10:34 AM (in response to fahlen)Your style.css shouldn't be in the WEB-INF since it is not accessible from "outside".
Move the cc directory to the root of your war and do<link type='text/css' rel='stylesheet' href='css/Styles.css' />
-