[Seaside] callback returning content

Lukas Renggli renggli at gmail.com
Fri Dec 12 17:16:01 UTC 2008

>  encoder := WAURLEncoder on: strm.
>  encoder nextPutAll: (html context actionUrl copy
>     addParameter: (html callbacks registerCallback: [
>          'some string I want returned'])) asString.
>   I'm just getting a copy of the URL before adding the parameters.

Yeah, you have to copy the original URL because it is used for all the
callbacks on the page. There is the helper method #withParameter: that
does the "copy addParameter:" thing all at once.


Lukas Renggli

More information about the seaside mailing list