[Seaside] revel decoration

Diogenes Moreira diogenes.moreira at gmail.com
Tue Mar 29 17:17:26 UTC 2011

Hi folks.
I have a component where I'm adding a decorator..

MyComponent>>inform: aString
    self removeDecoration: informDecoration.
    informDecoration := (SBMessage new text: aString; title: self title;
    self addDecoration: informDecoration.

and then I'm removing that decorator when rendering finish .

    self renderMyContentOn: html.
    self removeDecoration: informDecoration.
    informDecoration := nil.

I don't know why, but  the decorator is present at next rendering time for
my component.

Any clue or comment will be appreciated.

Thank in advance. Best..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110329/f954b0c7/attachment.htm

More information about the seaside mailing list