Charlie Clark wrote:
> Am 04.10.2011, 10:55 Uhr, schrieb yuppie<y.2...@wcm-solutions.de>:
>>> Regarding zope.annotation - IAttributeAnnotatable creates a new object
>>> within the folder
>> Why do you think so? AFAICS the default implementation stores all
>> annotations in the __annotations__ attribute.
>
> Running some tests with the most recent version and it definitely creates
> child objects that are visible in the ZMI. I guess I need to test this a
> bit more but I suspect I might have to provide my own implementation.

Strange! Your container implements IAttributeAnnotatable and 
AttributeAnnotations is registered correctly?

Are you trying to use zope.annotation.factory? Last time I checked that 
didn't work with Zope 2. But the AttributeAnnotations adapter works for 
me without showing anything in the ZMI.

Cheers, Yuppie
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to