[Seaside] Dumb newbie problem with repeating a call/answer

Richard Huxton dev at archonet.com
Wed Feb 22 15:31:48 UTC 2006

Dmitry Dorofeev wrote:
> Basically never use call while you are rendering.
> I.e. inside renderContentOn:
> Use call as 'action' for some link or form processing only.

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.

   Richard Huxton
   Archonet Ltd

More information about the Seaside mailing list