[Seaside] Select and beSubmitOnChange, and handlers?
carlg at libertybasic.com
Fri Apr 6 20:18:56 UTC 2007
When I use a select tag and I specify beSubmitOnChange I would like to be
able to have a handler that works only when I click on that particular list.
list: self list;
on: #selectedItem of: self;
with: [ self triggerEvent: #changed with: self ]
The with: block gets evaluated even if I do not actually click on anything
in the list. Is there a way to have a handler that only gets evaluated when
the user make a direct selection?
-Carl Gundel, author of Liberty BASIC
More information about the Seaside