[Zope] Re: Why is index_html() called instead of __call__()?

Maik Jablonski maik.jablonski@uni-bielefeld.de
Thu, 02 Jan 2003 23:39:31 +0100


Kyler Laird wrote:
> I've been trying to use PropertyFolder for awhile now.  Almost
> all of my projects depend heavily on functionality that it
> would make *much* cleaner.
> 
> I'm running a fairly standard Debian distribution of Zope, but
> I have to modify PropertyFolder to define index_html() instead
> of __call__(), otherwise the "object_type" renderer is ignored.
> I'm not sure PropertyFolder is to blame.
> 
> Should an object's __call__() method be used to render it?  Any
> ideas why index_html() might be used instead?  Where could I go
> to track down the misbehavior?  I'd like to fix this so I can
> move on to some enhancements.
> 

Hi,

I've changed the "object-type"-renderer for PropertyFolder > 1.2. It now
hooks into __browser_default__. I'm not sure if this works
with 2.5.1, with 2.6 it's a fine solution...:)

-mj