well, in fact i&#39;m remove the decoration, after rendering process.. is it posible?.<br>I wanna use a decorator only one time.<br><br><div class="gmail_quote">On Tue, Mar 29, 2011 at 2:29 PM, Johan Brichau <span dir="ltr">&lt;<a href="mailto:johan@inceptive.be">johan@inceptive.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On 29 Mar 2011, at 19:17, Diogenes Moreira wrote:<br>
<br>
&gt; I don&#39;t know why, but  the decorator is present at next rendering time for my component.<br>
<br>
</div>afaik, adding or removing a decorator is similar to changing the state of the component: you should not do that while rendering.<br>
The component state is saved before rendering, which means state changes during rendering are lost.<br>
<br>
A solution can be to add/remove the decorator in an action callback (e.g. from the calling site of #inform: ?)<br>
But I&#39;m also interested why you are dynamically adding/removing a decorator like that.<br>
<br>
Johan_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br>