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? Thanks, Chris __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
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
participants (2)
-
Chris Bruce -
Dieter Maurer