[Zope] Overriding traversal

Jacob Gorm Hansen jg@ioi.dk
Thu, 03 Feb 2000 13:28:28 +0100


Hi,

I'm trying to override the traversal method of a product derived from
Folder.
It seems (from Chameleon) that this is possible by changing the
__bobo_traverse__ method, though I'm not quite sure what I'm expected to
return.

Assuming I have a database like this:

Folder1
	myObject
myProduct
	<nothing here>

How can I make myProduct's __bobo_traverse__ return myObject?

thanks,
Jacob