[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: [Zope-dev] Publishable Objects...
From: Brett Carter <brett () kavi ! com>
Date: 2001-04-27 0:31:35
[Download RAW message or body]
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
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic