[Zope-dev] Publishable Objects...
Brett Carter
brett@kavi.com
26 Apr 2001 17:31:35 -0700
What does it take to make an object publishable from an
ExternalMethod?
I.E., I have a class (see bottom of message) that does some url
traversal trickery, that works from a python product. Shouldn't I be
able to just stick it in an External method, and just return it, i.e.:
def returnme(self):
return MyClass()
and it get's published as normal? The problem is, __bobo_traverse__
never gets called on MyClass when it's in the external method. It
works fine from a python product though.
-Brett