[Seaside] Dumb newbie problem with repeating a call/answer
Brad Fuller
brad at sonaural.com
Wed Feb 22 20:38:17 UTC 2006
Ramon Leon wrote:
>> 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.
>>
>> setfoo
>> 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...
>
> renderContentOn: html
> html text: 'foo = ', (foo asString); break.
> (html anchor)
> callback: [self setfoo];
> text: 'set foo'.
> html break.
>
that's cool.. I'm now creating my first website... and I've been using
HtmlRendering.
Any pointers on docs I should read first for learning the canvas API?
It seems similar.
More information about the Seaside
mailing list