[Seaside] WADecoration and subcomponents
jfitzell at gmail.com
Mon Dec 22 19:30:03 UTC 2008
On Mon, Dec 22, 2008 at 6:01 PM, Leandro Perez <leandromperez at gmail.com> wrote:
>> In 2.8, you'll need to implement #nextPresentersDo: on your
>> Decoration. Take a look at WADelegation or WAComponent's
>> implementation for inspiration.
> I wrote this:
> MyDecoration>>nextPresentersDo: aBlock
> super nextPresentersDo: aBlock.
> self childrenDo: [:ea | ea decorationChainDo: aBlock]
> How does it sound?
I'm not sure how that would work since #childrenDo: is only
implemented on WAComponent. You just need to call super and then call
#decorationChainDo: on whatever component you are displaying within
More information about the seaside