On Sun, 27 Aug 2000, Loren Stafford wrote:
> Here's what MJ told me about that case. I'm not sure it applies to your
> case. Did you try it? Did it work?
Thanks for the info. It was the Extension class piece I was missing.
I tested it on a regular class, of course .
The original problem wasn't
From: "R. David Murray" <[EMAIL PROTECTED]>
> On Sat, 26 Aug 2000, Loren Stafford wrote:
> > def index_object(self):
> > if self.nextEventTime() is not None:
> > CatalogAware.index_object.im_func(self)
> > # see Python Reference Manual "The standard type hierarchy"
> >
On Sat, 26 Aug 2000, Loren Stafford wrote:
> def index_object(self):
> if self.nextEventTime() is not None:
> CatalogAware.index_object.im_func(self)
> # see Python Reference Manual "The standard type hierarchy"
> # for the built-in type im_func
I realize this is a P
ntTime() is not None:
CatalogAware.index_object.im_func(self)
# see Python Reference Manual "The standard type hierarchy"
# for the built-in type im_func
-- HTH
-- Loren
- Original Message -
From: "Daniel Rusch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: August
On Fri, 25 Aug 2000, Daniel Rusch wrote:
> def __call__(self, client=None, REQUEST={}, RESPONSE=None, **kw):
> print 'Sub Class __call__'
> DTMLMethod.__call__(self, client, REQUEST, RESPONSE, kw)
[...]
> when I view the BasicMethod in Zope, I get:
> Error Type: TypeError
> Er
I've created a BasicMethod which is derived from the DTMLMethod.
everything works great until I try to have the sub class's
(BasicMethod) __call__ method call the super class's (DTMLMethod)
__call__ method.
class BasicMethod(DTMLMethod):
"""BasicMethod objects are DocumentTemplate.HTML obje