[Seaside] adding parameters to updater

Ramon Leon ramon.leon at allresnet.com
Tue Oct 24 22:06:43 UTC 2006

> Hi all,
> Any idea why this doesn't work?  Maybe I do not understand 
> updater.  I'm trying to make this as simple as possible so I 
> can see what it is doing?  It seems like it is working but 
> the javascript is not being evaluated once it is returned to 
> the browser.  Is there a way to see what ajax is returning?

Bingo, you forgot to tell it to evalScripts!

html div 
    id: 'ron'; 
    onClick: (html evaluator callback: [ :script |
        		script element
         		id: 'ron';
			evalScripts: true;
           		addClassName: 'foo' ]);
    with: 'hello'.

Ramon Leon

More information about the Seaside mailing list