[Seaside] AJAX Evaluator and Event Handler
renggli at gmail.com
Thu Oct 4 12:42:43 UTC 2007
> html evaluator
> triggerFormElement: myElement;
> callback: [ :script |
> script insertion top id: #xyz; with: [ :r| r text 'TOP'].
> script insertion bottom; id: #xyz; with: [ :r| r text 'BOTTOM'].
> script alert: 'Insertion complete'
Yes, that's the solution.
bottom. The exceptions are the AJAX request/updater/evaluator's that
evaluation immediately continues (it normally doesn't wait to
complete). That's why you only need an event in those cases.
More information about the seaside