[Seaside] AJAX evaluator and javascript

Lukas Renggli renggli at gmail.com
Thu Sep 18 13:41:22 UTC 2008


>  What I am expecting is a Javascipt alert to pop up. What am I doing wrong?

Have a look at the JavaScript code that is sent back in FireBug or the
Safari Console.

The problem is that when you use 'strings' in Smalltalk you get
strings in JavaScript. No magic here. So 'var bar = "This is a test"'
is a string. Not a variable declaration.

You might want to try:

    script alert: 'This is a test'

Cheers,
Lukas

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


More information about the seaside mailing list