<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I don't think that you can show a different CSS file to the editor when
different pages are edited.<br>
<br>
If two pages have the same template then the html editor will use the
same css file. You can create your css file as JSP and include many CSS
files into it and then use that JSP as the CSS file of the editor. But
you cannot use two different CSS files when editing two files that use
the same opencms template<br>
<br>
Best REgards<br>
Christian<br>
<blockquote
 cite="mid:C21C54968FAFF841845381199498AF4431CC10@chronos.eurelis.com"
 type="cite">
  <pre wrap="">Hi

I want to use a custom and dynamicaly found css file in the HtmlWidget
fields of XmlContent.

I know I can write a css file and add it in XSD definition of my
XmlContent, that's ok.

 

But a first issue occurs: it doesn't understand "@import url('another
css file.css');" lines!!! And so I must copy all the css code of my css
file used by final templates.

 

Second, I want the css used is found dynamically: I need to get it by a
property (for example) of the xmlcontent currently edited. How can I do?
I tried to write a jsp file insead of the css file, which could get it,
but I can't get the currently edited uri!!! I only have the jsp file
itself uri.

 

Could someone help me?


  </pre>
  <pre wrap="">
<hr size="4" width="90%">

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
<br>
</body>
</html>