[Zope] Subclassing OrderedFolder

Gary Godfrey ggodfrey@io.com
Tue, 4 Jun 2002 20:10:45 -0500 (CDT)


Ok, so it says in the OrderedFolder blurb that it should be easy to set it
as a base class for other folderish objects.  I can't seem to make it
work.  From what I can tell, it seems to be getting hung up on the
NoBabelTag stuff and shows the error:

Error Type: AttributeError
Error Value: 'None' object has no attribute 'blocks'

when I try to bring up the management screen.  Does anyone have an example 
of using OrderedFolder as a base class?

Thanks,
Gary Godfrey
Austin, TX, USA


Traceback (innermost last):
  File /var/tmp/src/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 150, in publish_module
  File /var/tmp/src/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /var/tmp/src/Zope-2.5.1-src/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook
    (Object: test)
  File /var/tmp/src/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /var/tmp/src/Zope-2.5.1-src/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: manage_main)
  File /var/tmp/src/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: manage_main)
  File /var/tmp/src/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in __call__
    (Object: manage_main)
  File /var/tmp/src/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in _bindAndExec
    (Object: manage_main)
  File /var/tmp/src/Zope-2.5.1-src/lib/python/App/special_dtml.py, line 172, in _exec
    (Object: manage_main)
  File /var/tmp/src/Zope-2.5.1-src/lib/python/Products/OrderedFolder/NoBabelTag.py, line 22, in __call__
  File /var/tmp/src/Zope-2.5.1-src/lib/python/Products/OrderedFolder/NoBabelTag.py, line 17, in render
AttributeError: (see above)