[Zope] Handling of objects returned from external methods within zope?

Passin,Thomas B. (Tom) tpassin@mitretek.org
Wed, 18 Sep 2002 11:37:51 -0400


[Stephan Herschel]
>...
> The class looks like this:
>=20
> class x:
> 	def y (s):
> 		return 1
>=20
> Within Zope I now try to call the method y() of the object that is=20
> returned by the external function. This does not work - zope=20
> want's me=20
> to (re)login immediately.
>=20
> I guess I'm just not allowed to use classes defined outside of zope=20
> within zope. Is there some way to register a class so that=20
> it's objects=20
> can be used inside of Zope? If so, how can I achieve this?
>=20

External methods are functions, not methods.  But if the function
returns an object you should be able to use its methods.  You better
show us just how you are trying to do this. =20

Cheers,

Tom P