[Seaside] Re: AJAX evaluator and javascript

Lukas Renggli renggli at gmail.com
Thu Sep 18 15:58:31 UTC 2008


>  What I am really trying to get at is how do I reference a javascript
> variable from within the callback of the html evaluator.
>
>  If I assume that there is an existing javascript variable called "bar", how
> to I get the evaluator to generate "alert(bar)"

script alert: (SUStream on: 'bar')

Have a look at SUScript>>#alert:, this is an example on how to
generate verbatim output.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list