[Seaside] WADecoration and subcomponents
leandromperez at gmail.com
Mon Dec 22 17:01:48 UTC 2008
Yeah, that kind of sucks in 2.8. I think in 2.9 we've got it so that
> Decorations can have #children.
> 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:
super nextPresentersDo: aBlock.
self childrenDo: [:ea | ea decorationChainDo: aBlock]
How does it sound?
It seems to work, but perhaps I'm missing something. I honestly don't know
the whole intent of nextPresentersDo: so I tried a few things and this one
appears to work just fine.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside