[Zope] restrict Add drop-down list in Folder Contents view
John Hunter
jdhunter@ace.bsd.uchicago.edu
Sun, 24 Mar 2002 14:30:09 -0600
>>>>> "Florent" == Florent Guillaume <fg@nuxeo.com> writes:
Florent> That's one of the features of OrderedFolder.
Florent> http://dev.zope.org/Members/srichter/Products/OrderedFolder
Thanks for the tip. I am encountering an install problem. After I
unpack the tarball in lib/python/Products and restart Zope, when I try
to add an Ordered Folder I get the following attribute error:
Error Type: AttributeError
Error Value: 'None' object has no attribute 'blocks'
and the following trace:
Traceback (innermost last):
File /usr/local/Zope-2.5.1b1-src/lib/python/ZPublisher/Publish.py, line 150, in publish_module
File /usr/local/Zope-2.5.1b1-src/lib/python/ZPublisher/Publish.py, line 114, in publish
File /usr/local/Zope-2.5.1b1-src/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook
File /usr/local/Zope-2.5.1b1-src/lib/python/ZPublisher/Publish.py, line 98, in publish
File /usr/local/Zope-2.5.1b1-src/lib/python/ZPublisher/mapply.py, line 88, in mapply
(Object: folderAdd)
File /usr/local/Zope-2.5.1b1-src/lib/python/ZPublisher/Publish.py, line 39, in call_object
(Object: folderAdd)
File /usr/local/Zope-2.5.1b1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in __call__
(Object: folderAdd)
File /usr/local/Zope-2.5.1b1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in _bindAndExec
(Object: folderAdd)
File /usr/local/Zope-2.5.1b1-src/lib/python/App/special_dtml.py, line 172, in _exec
(Object: folderAdd)
File /usr/local/Zope/lib/python/Products/OrderedFolder/NoBabelTag.py, line 22, in __call__
File /usr/local/Zope/lib/python/Products/OrderedFolder/NoBabelTag.py, line 17, in render
AttributeError: (see above)
Thanks,
John Hunter