[Seaside] How to include a css file in Seaside 2.8+?
philippe.marschall at gmail.com
Wed Jun 18 06:27:33 UTC 2008
2008/6/18 Richard E. Flower <rickf at ca-flower.com>:
> Ok.. I've got my Apache proxy working just fine but can't get Seaside to
> load the css files.. I think I'm close with the following code.. Is there
> something else I need to do? This is to replace the old 2.6 "anHtmlRoot
> linkToStyle: '/resources/css/screen.css' line that used to work..
> updateRoot: anHtmlRoot
> [ ..other stuff snipped ... ]
> anHtmlRoot stylesheet resourceUrl:
> (anHtmlRoot context
> urlForDocument:(WACachedDocument fileName:
> mimeType: 'text/css'
> fileName: 'screen.css').
I don't think this is what you want, this will not use Apache. Try the
super updateRoot: anHtmlRoot.
anHtmlRoot stylesheet url: '/resources/css/screen.css'
More information about the seaside