[Zope] Question about the default view of a ZClass named index_html

Michiel Toneman michiel@apenstaartje.nl
13 Aug 2001 12:41:40 +0200


Im trying to create a product for a simplified Content Management System
based on Zope (i.e. even simpler than the Zope interface ;-) ). To do
this, I want the equivalent of a DTML document, with a custom editing
interface...

I have created a new product, containing a ZClass which has the
following base classes: ZObject, CatalogAwareBase, ZDTMLDocument. I'm
doing OK with this, except that I can't figure out how to make a product
instance use it's default 'View' method when it is named 'index_html'.

If I call it index_html, the following URLs get me a zero sized reply of
mime-type text/x-unknown-content-type. 

http://server/MyFolder/
http://server/MyFolder/index_html

However, I can use the object as 

http://server/MyFolder/index_html/index_html

And everything goes well.... Also, if I rename the object to something
else, I don't have this problem.

Anyone have a solution/workaround for this bug?

Greetings,

Michiel