[Seaside] Bug? calling javascript function from onComplete:

Norbert Hartl norbert at hartl.name
Tue Jul 22 12:21:33 UTC 2008

I need to chain some calls I do with Ajax. I found
the onComplete:, onSuccess: etc. handlers. Every example
I've found in the image uses them to invoke an html updater.

Trying to do this

   onClick: (
      html updater
         callback: [];
         onComplete: 'alert("booo!");'
   with: 'something'.

leads to javascript code like


The problem is that to javascript code is printed with surrounding
ticks ' and therefor cannot be executed.

Am I doing something wrong or should be work that way?



More information about the seaside mailing list