RE: [Zope-dev] masquerading python products as functions

2001-07-12 Thread Mick
... http://www.zope.org/Members/htrd/howto/FunctionTemplate thanks Mick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lalo Martins Sent: Thursday, July 12, 2001 3:45 PM To: [EMAIL PROTECTED] Subject: Re: [Zope-dev] masquerading python products

Re: [Zope-dev] masquerading python products as functions

2001-07-11 Thread Casey Duncan
Mick wrote: Hi, I am trying to make a product act like an external method, or dtmlmethod. Basically I have taken the minimal product and added a __call__ function. It works fine, and can be called as a function of the object that contains it. The problem is that the minimal objects

Re: [Zope-dev] masquerading python products as functions

2001-07-11 Thread Lalo Martins
On Wed, Jul 11, 2001 at 11:38:20PM +1200, Mick wrote: Hi, I am trying to make a product act like an external method, or dtmlmethod. Basically I have taken the minimal product and added a __call__ function. It works fine, and can be called as a function of the object that contains it. The