[Zope-dev] Can't get ZClass baseclass to behave as DTML Method

Martijn Faassen m.faassen@vet.uu.nl
Thu, 09 Sep 1999 09:38:11 +0200


Evan Simpson wrote:
> Zope checks an object for 'index_html' *before* '__call__', so if your
> object can acquire one, that's what will get rendered.  To prevent that,
> you can do what the DTML objects do, and set index_html to None.
> 
> If you *can* do that with a ZClass.  Hmm.  Well, hopefully, this'll lead
> you in the right direction.

I'll try and report back to the list. Thanks!

Regards,

Martijn