[Seaside] How to load my own CSS files...

Philippe Marschall philippe.marschall at gmail.com
Mon Mar 6 16:50:11 UTC 2006


> For the time being, since I couldn't figure out how to do it, I just
> cut-n-pasted the contents of my css files
> into my top-level style method, which achieves the same goal, but is not
> really what I'd like to do overall.
> Do you have an example of what I need to do in order to make this work?
> Thanks!
>
> P.S. In my case, I was doing it in a render block.

You should not do in a normal render method but an #updateRoot:

MyComponent>>#updateRoot: aHtmlRoot
	super updateRoot: aHtmlRoot.
	aHtmlRoot linkToStyle: '/include/style/menu.css'.


More information about the Seaside mailing list