[Zope] Directories and subdirectories....

Dieter Maurer dieter@handshake.de
Mon, 2 Apr 2001 19:24:55 +0200 (CEST)


After Dark writes:
 > ... Zope
 > don`t recognize the subfolder like an object
 > ....
 > <dtml-in "rootfolder/subfolder.objectVlues()">
 > </dtml-in>
Apparently, you do not yet know the searchable list archives
nor 

  URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html

This is really an FAQ. I answered simlilar questions at least
half a dozen times....

  Use "restrictedTraverse" to access objects that are
  not in reach with acquisition....

  Inside a Python expression (i.e. inside "...") is "/" the
  division operator! You try to divide "rootfolder" by
  "subfolder" and you get what you should get: a "NameError"
  (maybe "KeyError").


Some background reading recommended...


Dieter