[Seaside] Little help for callback: value:

Lukas Renggli renggli at gmail.com
Tue Feb 9 11:17:53 UTC 2010

> I am trying to use
> SUEvaluator >> callback: value:
> to do it. The idea was to put the evaluation of the javascript command in the value part and pass its result to the callback. However, I am not sure whether this is the right way to go..
> Could you give me some suggestion on how to implement this?

That's definitely the right way. You need to consider that the
Javascript code that is used to calculate the value should be a
string, because it will be put into the request URL of the evaluator.
Have a look at the senders of #callback:value: there are several
examples where values are concatenated in Javascript and split again
in Smalltalk.


Lukas Renggli

More information about the seaside mailing list