[Seaside] Double-click on listbox?
Bany, Michel
mbany at cincom.com
Tue Mar 4 08:20:48 UTC 2008
Hi Carl,
With SeasideAsync, I believe the following will work.
html select
... ;
forEvent: 'ondblclick' callback: [:e | ... ];
...
If you need the value of the selected item in the callback block, then
you also need to send liveCallback: since the live callback is triggered
by the onclick event and is therefore evaluated before the ondblclick
event.
HTH
Michel.
> > How can I register a callback on a listbox (select tag) for
> a double-click? I'm (still) using Seaside 2.6. Do web
> browsers support this sort of action?
>
> No, but most web browser support it in one way or the other:
>
> http://developer.mozilla.org/en/docs/DOM:element.ondblclick
>
> Lukas
More information about the seaside
mailing list