[Seaside] callback registry

Karsten karsten at heeg.de
Fri Oct 24 12:22:35 UTC 2008

Hi Lukas,

thanks for the reply. Could you please tell me a bit more about the 
details, especially on the client-side javascript?

Kind Regards

Lukas Renggli wrote:
>> is there a way to clean up the callback registry, or to unregister some
>> callbacks?
> With the model of Seaside, it is hard to tell what callbacks are still
> used when doing AJAX. Therefore I suggest to do a full refresh from
> time to time.
> Note that you can easily do a full refresh through AJAX. Just trigger
> an AJAX request to a normal callback, extract the string between
> <body> and </body> and place it into the DOM tree. This recreates all
> the callbacks in the page and ensures that old ones eventually expire.
> To the outside this "full request" feels like a normal AJAX action,
> just that it is maybe a bit slower than the other ones.
> Actually I planned to write a blog entry about this technique, just
> didn't find the time yet.
> Cheers,
> Lukas

Karsten Kusche - Dipl.Inf. - karsten at heeg.de
Tel: +49 3496 21 43 29
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812

More information about the seaside mailing list