[Seaside] How to include a css file in Seaside 2.8+?
Richard E. Flower
rickf at ca-flower.com
Wed Jun 18 14:05:22 UTC 2008
Thanks! That worked like a charm!
On Jun 17, 2008, at 11:27 PM, Philippe Marschall wrote:
> 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
>> something else I need to do? This is to replace the old 2.6
>> 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
> updateRoot: anHtmlRoot
> super updateRoot: anHtmlRoot.
> anHtmlRoot stylesheet url: '/resources/css/screen.css'
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside