[Seaside] How to avoid too many callbacks
Lukas Renggli
renggli at gmail.com
Thu May 1 08:53:55 UTC 2008
> What is the best way to avoid too many callbacks!
JavaScript.
> I have a large table with e.g. 1000 cells.
> Each cell has an onClick Event with a callback.
> But to improve the performance, it would be
> better to use only one callback which sends back the selected cell id as
> parameter!
You register single callback that passes an id of the selected cell to
the callback. Possibly the JsonParser I just submitted to the Seaside
repository might help you here to establish a simple protocol between
the client and the server side.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list