18 Jan
2000
18 Jan
'00
4:43 p.m.
-----Original Message----- though. Is there any way I can make a __call__ method (or equivilent) in a ZClass?
No, you have to subclass a Python class that defines it. -Michel
19 Jan
19 Jan
12:37 a.m.
New subject: [Zope] Making a Folderish ZClass 'callable'
On Tue, Jan 18, 2000 at 11:43:47AM -0500, Michel Pelletier wrote:
-----Original Message----- though. Is there any way I can make a __call__ method (or equivilent) in a ZClass?
No, you have to subclass a Python class that defines it.
-Michel
Or use the Renderable Base ZClass Product at http://www.zope.org/Members/lalo/Renderable-ZClass as a superclass of your class and define a 'render' DTML Method in your class. -- Stephen Pitts smpitts@midsouth.rr.com webmaster - http://www.mschess.org
9575
Age (days ago)
9576
Last active (days ago)
1 comments
2 participants
participants (2)
-
Michel Pelletier -
Stephen Pitts