[Zope] ZClass index_html question

Maarten Slaets maarten.slaets@neolabs.be
Fri, 20 Jul 2001 10:28:13 +0200


Tim Cook wrote:
> 
> 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.

It didn't solve it. I did notice a difference though for a plain ZClass
and a DTMLDoc subclassed ZClass.

> 
> HTH,
> --
> Tim Cook, President - Free Practice Management, Inc.
> http://www.FreePM.com Office: (731) 884-4126
> ONLINE DEMO: http://www.freepm.org:8080/FreePM
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

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