[Zope] Why doesn't this work?

Terry Hancock hancock@anansispaceworks.com
Tue, 29 Jul 2003 13:34:06 -0700


On Tuesday 29 July 2003 07:57 am, Dylan Reinhardt wrote:
> You're probably returning an unwrapped object in 
__bobo_traverse__
> 
> Try this:
> -------------------
> 
> def __bobo_traverse(self, request, name):
>     if name in ("Red", "Green", "Blue"):
>         return PB_Object(name).__of__(self)
> -------------------

Nope, I'm using the .__of__(self) code.  It looks much like 
your example.   Could be something else going wrong inside 
it, though.  

I'll keep exploring.  If I can't get it to work, I'll try 
to create an isolated demonstration as before.

Thanks. ;-)

Terry

--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks  http://www.anansispaceworks.com