Thanks Lukas!
I replaced
self with: initialRenderBlock.
canvas script: ((canvas periodical)
assignTo: 'my_periodical';
frequency: 2 seconds;
callback: [:r | r render:Time now ])
with:
self script: ((canvas periodical)
assignTo: 'my_periodical';
frequency: 2 seconds;
callback: [:r | r render:Time now ]);with: initialRenderBlock.
and it worked.
I appreciate your help a lot, greetings from Argentina
Leandro
Lukas Renggli wrote
> WATagBrush >> time:initialRenderBlock
> self with: initialRenderBlock.
> canvas script: ((canvas periodical)
> assignTo: 'my_periodical';
> frequency: 2 seconds;
> callback: [:r | r render:Time now ])
#with: has always to be the last message you send to a brush. It
triggers the streaming of the contents, anything you specify
afterwards will be ignored. Also check out the method comment of
#with:
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch_______________________________________________
Seaside mailing list
Seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside