[Zope-dev] More almost __call__ ;-)

Jim Fulton jim@digicool.com
Fri, 13 Oct 2000 11:30:49 -0400


Chris Withers wrote:
> 
> Jim Fulton wrote:
> 
> > In any case, if you *just* want to get your function to be
> > called from DTML (and your class is an extension class), you can give
> > it the isDocTemp attribute like so:
> >
> >   class MyClass(.... include some extension class ...):
> >
> >     some_methodisDocTemp=1
> >     def some_method(self, ignored, md):
> 
> great :-) that did the trick, thanks...
> 
> I can't help but feel this woudl all be so much simpler if it was
> documented somewhere for idiots like me :-S

Well, it *is* documented somewhere. (In the ExtensionClass
documentation), but not somewhere where you were likely to find it.

Jim


--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.