[Seaside] Re: Background pattern

Torsten.Bergmann at phaidros.com Torsten.Bergmann at phaidros.com
Thu Nov 20 17:37:12 CET 2003

"Julian Fitzell" <julian at beta4.com> wrote in message
news:3FBBAB33.1030204 at beta4.com...
> Hm, well if you want to add an attribute to the body, that's definitely 
> the way to do it.  I started out writing an example of how you could do 
> it with the #style method but then realized you can't because it doesn't 
> have access to a renderer to get a url from.

One way to get access to the renderer is to override the #renderAllOn:
method to 
store the renderer in an instance variable:

    renderAllOn: html
        self renderer: html
        super renderAllOn: html

So you are able to access it in the #style method which is called after


More information about the Seaside mailing list