[Seaside] Re: Ajax delete component only works if #children stillreport all previously deleted components?

Lukas Renggli renggli at gmail.com
Sun Feb 17 18:23:35 UTC 2008

> callback: [ : r |
>   parent subs remove: self.
>   "parent deleted add: self. -- NOT needed"
>   r in: parent do: [ parent basicRenderOn: r ] ]) ;
> Is that what you expect? That would be great news to me!

Yes, exactly. The #in:do: implementation is what I mentioned in one of
the last mails. As you can see the #in:do: just changes the owner of
the callbacks while executing the block.

It is not nice, but it should work in all situations where you call
internal rendering methods of different components. We will try to
find a better solution for Seaside 2.9.


Lukas Renggli

More information about the seaside mailing list