[Seaside] How to include a css file in Seaside 2.8+?

Richard E. Flower rickf at ca-flower.com
Wed Jun 18 06:14:12 UTC 2008


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: '/resources/css/ 
screen.css')
		mimeType: 'text/css'
		fileName: 'screen.css').

Thanks!



More information about the seaside mailing list