[Zope] ZClass index_html question

Peter Bengtsson mail@peterbe.com
Thu, 19 Jul 2001 18:54:35 +0200


> Peter Bengtsson wrote:
>
> > > 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?
>
> Did you set the View method of your ZClass to index_html ?
> Check the 'Views' tab of your ZClass.  You also want it to be
> first in the list.

In my dummy reproduction example I never looked at that, but I found that
the value of the id mattered a lot.