[Seaside] adding parameters to updater

Ron Teitelbaum Ron at USMedRec.com
Tue Oct 24 22:52:43 UTC 2006

Hi Ramon, 

Thank you for your response.  I've been reading your previous postings.  I
saw your email about evalScripts to someone else earlier.  evalScripts is
for updater not evaluator, I found that out when I tried it.  Thanks for
pointing it out, it will definitively come in handy!


> -----Original Message-----
> From: Ramon Leon [mailto:ramon.leon at allresnet.com]
> Sent: Tuesday, October 24, 2006 6:07 PM
> To: Ron at USMedRec.com; 'The Squeak Enterprise Aubergines Server - general
> discussion.'
> Subject: RE: [Seaside] adding parameters to updater
> > 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
> http://onsmalltalk.com

More information about the Seaside mailing list