[Zope] ZClass index_html question

Maarten Slaets maarten.slaets@neolabs.be
Thu, 19 Jul 2001 16:57:47 +0200


Hi,

I'm having a problem using a ZClass as a default view of a folder:

When I add a ZClass instance to '/folderX', give it an id of
'index_html', and browse to '/folderX', I get an empty response. when I
browse to '/folderX/index_html' I still get this error. when I browse to
'/folderX/index_html/index_html' I get the correct page.

The Zclass has ZObject as base class, and an index_html method I added.

Is there a way to make a browse request to '/folderX' execute the
index_html method of the index_html ZClqss in that folder?

PS: this is the actual response I get from zope (and also lists the zope
config I'm using):

HTTP/1.0 200 OK
Server: Zope/Zope 2.3.2 (source release, python 1.5.2, linux2)
ZServer/1.1b1
Date: Thu, 19 Jul 2001 14:55:27 GMT
Content-Type: text/x-unknown-content-type
Content-Length: 0


-- 
Maarten Slaets
Contact: http://zope.neolabs.be/home/maarten/maarten.vcf