logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Background pattern: msg#00115

Subject: Re: Background pattern
"Julian Fitzell" <julian@xxxxxxxxx> wrote in message
news:3FBBAB33.1030204@xxxxxxxxxxxx
>...
> 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
that.

Bye
Torsten



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>