[Seaside] #styleLinkWithUrl:

Avi Bryant avi at beta4.com
Sat Oct 16 18:41:42 CEST 2004


On Oct 16, 2004, at 6:24 PM, David Röthlisberger wrote:

> okay, I found out that I should use WAPresenter>>updateRoot: 
> anHtmlRoot,
> which I can override in my Components, so I can set a title or a 
> docType to
> the HtmlRoot.
> But still I haven't found a way to use an external *.css File.
> I use the WAStyleLibrary now to store the css styles in it, that's 
> okay for
> me, but I'm still wondering, if it's possible to use .css-Files. ;)

You can add anything you like to the head using 
HtmlRoot>>addHeadElement:.  There should certainly be a convenience 
method for adding external stylesheets, though...

Avi



More information about the Seaside mailing list