[Seaside] Dumb newbie problem with repeating a call/answer
rleon at insario.com
Wed Feb 22 17:15:16 UTC 2006
> Thanks Dmitry - that does the trick. Quick answer!
> For the record, if I further change WATaskTest...
> renderContentOn: html
> html text: 'foo = ', (foo asString); break.
> html anchorWithAction: [self setfoo] text: 'set foo'; break.
> Transcript show: 'setfoo...'; cr.
> self foo: (self call: dummy).
> this works fine.
For all you new guys, you should really start using the Canvas API right
off the bat, it's much easier to use and much more consistent than the
old HtmlRendering API.
The above would be something like...
html text: 'foo = ', (foo asString); break.
callback: [self setfoo];
text: 'set foo'.
More information about the Seaside