[Seaside] revel decoration

Diogenes Moreira diogenes.moreira at gmail.com
Tue Mar 29 18:04:52 UTC 2011

well, in fact i'm remove the decoration, after rendering process.. is it
I wanna use a decorator only one time.

On Tue, Mar 29, 2011 at 2:29 PM, Johan Brichau <johan at inceptive.be> wrote:

> On 29 Mar 2011, at 19:17, Diogenes Moreira wrote:
> > I don't know why, but  the decorator is present at next rendering time
> for my component.
> afaik, adding or removing a decorator is similar to changing the state of
> the component: you should not do that while rendering.
> The component state is saved before rendering, which means state changes
> during rendering are lost.
> A solution can be to add/remove the decorator in an action callback (e.g.
> from the calling site of #inform: ?)
> But I'm also interested why you are dynamically adding/removing a decorator
> like that.
> Johan_______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110329/5ec97a10/attachment.htm

More information about the seaside mailing list