cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: CSS on generated files
Date Wed, 08 May 2002 15:34:00 GMT
> From: Carlos Araya [mailto:carlos@cvc.edu]
> 
> Vadim:
> 
> On 05/08/02 6:58, "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
wrote:
> >
> > Do you have CSS links in your HTML, and does URL of the CSS in this
HTML
> > points to the Cocoon, and do you want Cocoon to serve this URL, and
> > respond with appropriate CSS (file or generated)?
> The css is generateed by the stylesheet I'm using.  Cocoon does serve
the
> HTML page that results from the transformation and the HTML displays
ok but
> not the stylesheet. I've added a map:match entry to my sitemap but it
> doesn't seem to make a difference.
> 
> Also, the file is correctly accesed the first time, but on subsequent
> attempts I get a null pointer exception error

Seems you have an error somewhere.


> > If yes, then you have to make an entry in sitemap which will react
on
> > this URL and generate CSS (or just read static CSS file) you want.
> This is the sitemap fragment that reads the stylesheet:
> 
>     <map:match pattern="**.css">
>      <map:read mime-type="text/css" src="stylesheets/{1}.css"/>
>     </map:match>
> 
> 
> I'm using 2.0.2, will this work consistently if I upgrade to 2.0.3?
> Carlos

There are no changes between 2.0.3 and 2.0.2 in this respect.

Vadim

> 
> >
> > Vadim
> >
> >
> 
> --
> Carlos E. Araya
> ---+ WebCT Administrator/Trainer
>  P | California Virtual Campus
>  - | C/O De Anza College
>  G | 21250 Stevens Creek Blvd
> ---+ Cupertino, CA 95014
> 
> email               carlos@cvc.edu
> web                 http://www.cvc1.org/ (work)
>                     http://www.silverwolf-net.net (personal)
> phone               408 257 0420 (work)
> PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756
> 
> 
> "Do not meddle in the affairs of dragons....for you are crunchy and
taste
> good with ketchup and mayonnaise.."
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message