[Seaside] Using updater without triggering action callback?

Boris Popov boris at deepcovelabs.com
Thu Aug 23 19:57:58 UTC 2007

Say you have a form with default action callback to run a search. One of
the criteria for this search is specified using a select list in that
form. Now I'd like to attach an updater to the select list to populate a
little "extras" div to the side of it with selection details, but I
would like to do so without triggering the default action of a form that
would actually execute the search?

(html select)
 list: self accounts;
 labels: [:acc | acc name];
 selected: self account;
 callback: [:value | self account: value];
 onChange: ((html updater)
                id: divid;
                triggerForm: formid;
                callback: [:r | r span: self account name])
(html div)
  id: divid;
  with: [].



DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.

More information about the seaside mailing list