[opencms-dev] css path problem

Edward Zarecor edward_zarecor at harvard.edu
Mon Aug 1 22:14:37 CEST 2005


I'm new to OpenCMS and have successfully installed it on Fedora Core 3,
Weblogic 8.1sp3, Oracle 10G.

Things do seem to be mostly working, but one issue I'm seeing is that
the stylesheets aren't being presented to the client correctly,
resulting in the workplace toolbar not displaying correctly, etc.

In the client side src of top_head.jsp

I see: <link rel="stylesheet" type="text/css"
href="/opencms-6/export/system/workplace/commons/style/workplace.css">

Accessing the URL directly results in an error:

org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource
from path "/export/system/workplace/commons/style/workplace.css".
	at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:75)
....

Removing "export" results in stylesheet being returned.

I notice from the JSP src that the URL is constructed as so:

<link rel="stylesheet" type="text/css" href="<%= wp.getStyleUri(wp.getJsp(),"workplace.css")%>">

Can I fix this via configuration?  Is it likely to break other things if I do so?

Any help will be greatly appreciated.

Thanks.

Ed.


-- 
Edward Zarecor
Practice Manager for Grants Management
Harvard University, UAS




More information about the opencms-dev mailing list