I'd put a comment in the Zope Book API reference about this, but I can't. Commenting seems to be disabled, both for the 2.6 version and for the 2.5.1 version. --PW On Fri, Nov 01, 2002 at 04:50:59PM -0800, Paul Winkler wrote:
during chat on #zope I told somebody to have his class inherit from ObjectManagerItem. Then I went looking in the zope source and... it does not exist, as far as I can tell.
$ cd /zope/Zope_software_home/ $ find . -name "*py" -exec grep -H "ObjectManagerItem" {} \; ./lib/python/Products/OFSP/help/DTMLDocument.py: 'OFSP.ObjectManagerItem.ObjectManagerItem', ./lib/python/Products/OFSP/help/DTMLMethod.py: __extends__=('OFSP.ObjectManagerItem.ObjectManagerItem',) ./lib/python/Products/OFSP/help/File.py: 'OFSP.ObjectManagerItem.ObjectManagerItem', ./lib/python/Products/OFSP/help/Folder.py: 'OFSP.ObjectManagerItem.ObjectManagerItem', ./lib/python/Products/OFSP/help/ObjectManagerItem.py:class ObjectManagerItem:
That last one looks like a hit, but it's purely documentation, as the folder name suggests; there are only docstrings, no actual method code.
I suspect the API reference intends to refer to OFS.SimpleItem.Item or OFS.SimpleItem.SimpleItem.
--
Paul Winkler http://www.slinkp.com "Welcome to Muppet Labs, where the future is made - today!"
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Paul Winkler http://www.slinkp.com "Welcome to Muppet Labs, where the future is made - today!"