[Zope] Making a Folderish ZClass 'callable'

Stephen Pitts smpitts@midsouth.rr.com
Tue, 18 Jan 2000 18:37:37 -0600


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