[Zope3-dev] Sublocation notifications
Garrett Smith
garrett at mojave-corp.com
Tue May 3 17:51:18 EDT 2005
Gary Poster wrote:
> On May 3, 2005, at 5:39 PM, Garrett Smith wrote:
>
>> We currently dispatch some object events to sublocations. I think
>> there's a problem with the current approach.
>
> ...
>
> Why not just have your own app listen for (object, event) and then do
> this additional dispatch? That's the usual pattern, and I'm guessing
> that we have use cases for the current (object, event) spelling.
>
> Gary
The dispatch is already being done in zope\app\container\contained.py --
it's not something I have any control over. We could tear it out I
suppose and require applications to handle it.
IIRC, there are a few places in zope/app that rely on this dispatching
though.
-- Garrett
More information about the Zope3-dev
mailing list