[Seaside] Seaside + Scriptaculous: Question on SUAjax onLoad, onComplete, etc.

Lukas Renggli renggli at gmail.com
Tue Jun 26 21:49:36 UTC 2007

> does anybody knows how to make this work or how to do it in a better way?

Seaside only processes one request per session at a time. It makes a
lot of code much simpler, as you don't have to worry about
concurrency. In your case it blocks the event handlers however, until
the main request has been processes.

> I don´t really know if the way i'm trying to do this is right, so if anyone
> has a better idea it will be great!

In general it doesn't make much sense to shoot off new requests from
AJAX events. Most web browsers don't allow one to have more than 2
concurrent requests anyway. To keep the responsiveness AJAX events
should only evaluate relatively fast JavaScript that doesn't do
anything asynchronous.


Lukas Renggli

More information about the Seaside mailing list