[Seaside] onClick vs callback

Lukas Renggli renggli at gmail.com
Thu Feb 7 12:37:00 UTC 2008


> I also found that this happened only in firefox, in IE it works even without
> setting it to behave synchronously..

That depends on the scheduling algorithm of the JavaScript engine.
Generally all AJAX requests run asynchronously, therefor it is not
possible to give any guarantees when and if a response is coming back.
That's why there are callback handlers, such as #onCompleted:,
#onFailed:, #onSuccess:, etc.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list