cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anna Afonchenko" <>
Subject css loading
Date Sun, 10 Aug 2003 12:32:59 GMT
Hi all.
I have a weird things happenning while serving css files.

I have an html file impact.html that has in it a link to a stylesheet:
<link rel=3D"stylesheet" type=3D"text/css" href=3D"style.css"/>

I serve this file in cocoon:
<map:match pattern=3D"impact">
  <map:generate src=3D"impact.htm" type=3D"html"/>
  <map:serialize type=3D"html"/>

<map:match pattern=3D"*.css">
  <map:read src=3D"styles/{1}.css" mime-type=3D"text/css"/>

This way it works, and loads the css correctly.

BUT if I change the pattern of the match from pattern=3D"impact" to =
something that contains / in it, e.g.
pattern=3D"test/impact" and try to serve it, the css is not loaded.

Is there a reason for this? Am I missing something?
I am using cocoon 2.0.4.

Thank you very much for help.

View raw message