[Seaside] Changes to JQuery Instance in latest builds

Lukas Renggli renggli at gmail.com
Thu Mar 4 07:42:42 UTC 2010


> I just build a new image with the latest Seaside 3.0 code, and noticed
> that #on:do: is missing from JQueryInstance. Is this a mistake, or
> should I be using something else?

Sorry, I had to rename this, because it was inconsistent with the
jQuery API. The #on:do: was something that I mistakenly copied from
the Scriptaculous package :-/

It is now called #bind:do:. Similar there is #live:do:, #one:do: and
#unbind:. If you subscribe to standard DOM event I suggest that you
use the shortcut methods like #onClick:, #onKeyPress:, etc. See the
#events protocol in JQueryInstance for details and
http://api.jquery.com/category/events/.

Lukas

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


More information about the seaside mailing list