Stephan Richter wrote:
>On Friday 20 May 2005 06:15, Jean-Marc Orliaguet wrote:
>>I want to get the location about created object through event
>>notifications, but there is never enough context (there is "Not enough
>>context to determine location root", ...)
>At the time an object is created it has no location, since it has not been
>added to anything. You really want to listen to the ObjectAddedEvent, which
>is triggered when an object is added to a container.
and Roger Ineichen wrote:
>Created object don't have a ILocation.
>They have to be added first to a container.
>Use ObjectAddedEvent for get a object with a ILocation.
Thanks! you saved me a lot of time!
Zope3-dev mailing list