[Seaside] Re: SU updater or SU element - how to affectmultiple elements?

Lukas Renggli renggli at gmail.com
Tue Dec 11 07:54:14 UTC 2007

> Thanks, that clarifies it further. Would it also be OK to use multiple calls
> to #onClick,

If #hideShowOn: is an asynchronous updater, then you might be in
trouble. Ajax calls are asynchronous and are not guaranteed to be
handled in any particular order.

However if your actual code is something like this:

html anchor
    onClick: (html element id: opId; toggle);
    onClick: (html updater
        id: opId;
        callback: [:r |

then that's fine. The first action is not asynchronous. Therefor the
order is guaranteed.


Lukas Renggli

More information about the seaside mailing list