[Seaside] AJAX Evaluator and Event Handler

Thomas Fischer th.-fischer at web.de
Thu Oct 4 15:38:08 UTC 2007

John Thornborrow wrote:
>   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'
>   ]

Thanks for your answers!
In fact I need not a simple alert but some JS code, so I use now:

  script insertion top id: locationsId; with: [ :r | r text: 'TOP' ]
  script add: (SUStream on: ' some JavaScript Code ')

View this message in context: http://www.nabble.com/AJAX-Evaluator-and-Event-Handler-tf4566705.html#a13042524
Sent from the Squeak - Seaside mailing list archive at Nabble.com.

More information about the seaside mailing list