[Zope] Traversal Question

Dieter Maurer dieter@handshake.de
Sun, 22 Jul 2001 22:30:29 +0200 (CEST)


Chris Bruce writes:
 > If I had a dtml method in /register/mail and I wanted to use it
 > (<dtml-var mail>) in a dtml document in say /profiles/information, how
 > would I reference this method since the are in separate sub folders?
You would use either "dtml-with", to open the foreign folders namespace
or "restrictedTraverse" to locate the object directly.

More info

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



Dieter