[Zope] Problems with ZNavigator

Ralf Kraemer Ralf.Kraemer@smail.inf.fh-rhein-sieg.de
Wed, 07 Mar 2001 23:09:30 +0100


i would like to create a new instance of a ZNavigator product folder

in the case of "infobar" is an existing instance from ZNavigator i can use
the following and it works fine

<dtml-with infobar>
      <dtml-call
"manage_addNavigator(id='infobar',title=REQUEST.id,navlink=REQUEST.id,navico
n=navicon,REQUEST=REQUEST)">      
</dtml-with>

but i would like to create a new instance of ZNavigator at a different
place. "/seiten/"

if i try i get the following error code

Error Type: AttributeError
Error Value: manage_addNavigator

Traceback (innermost last):
  File /usr/local/lib/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /usr/local/lib/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/local/lib/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
    (Object: Traversable)
  File /usr/local/lib/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/local/lib/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: MenuWizardForm)
  File /usr/local/lib/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: MenuWizardForm)
  File /usr/local/lib/Zope-2.2.2-src/lib/python/OFS/DTMLMethod.py, line
172, in __call__
    (Object: MenuWizardForm)
  File
/usr/local/lib/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
    (Object: MenuWizardForm)
  File
/usr/local/lib/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_With.py, line
146, in render
    (Object: seiten)
  File
/usr/local/lib/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_Util.py, line
337, in eval
    (Object:
seiten.manage_addNavigator(id='infobar',title=REQUEST.id,navlink=REQUEST.id,
navicon=navicon,REQUEST=REQUEST))
    (Info: seiten)
  File <string>, line 0, in ?
  File
/usr/local/lib/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_Util.py, line
129, in careful_getattr
AttributeError: (see above)

any suggestions ???

Ralf Kraemer