----- Original Message -----
Sent: Sunday, November 26, 2000 8:17
Subject: [Zope] client argument to python
I'm trying to emulate some DTML methods with
python code in my (python) product.
Let's say I have two Python classes, one named
Foo, the other Bar. Something like this:
class Foo(Folder.Folder, Persistent,
meta_type = "Foo"
client = self
class Bar(Folder.Folder, Persistent,
self.magic_word = 'Alacazam!"
Now I create a structure like this in
(instance of the Foo class)
(instance of the Bar class)
Now if I goto /bar/foo/magic, I see the magic
word. However, I would also like to use /foo/bar/magic, and also receive
the magic word. This latter case doesn't work, the magic_word isn't
In fact, the "client" argument is never anything
This is a facet of Zope I still don't quite