[Seaside] Simple new method with a periodical on WATagbrush

Lukas Renggli renggli at gmail.com
Tue Jun 19 22:04:31 UTC 2007


> 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


More information about the Seaside mailing list