----- Original Message -----
From: "Andreas Jung" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "zope" <Zope@zope.org>
Sent: Saturday, July 07, 2007 2:11 AM
Subject: Re: [Zope] handling exceptions for external methods
6 external methods must return only strings,
Nonsense. External methods can return anything.
Just one caveat: you cannot define a class within an external method and
then return an instance of that class (the routine that invoked the external
method will not have any reference to the instance's class).
If you want to create your own object classes then put the class definitions
in a Zope Product. You can then access that class from within an external
method and then return instances of the class to the routine that called the
external method (the calling routine will be able to reference the class
because of the Zope Product).
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -