[Zope] display object without index_html
Chris Withers
chris at simplistix.co.uk
Wed May 25 04:52:42 EDT 2005
Dieter Maurer wrote:
> The rules for 'GET' requests are as follows:
>
> Perform url traversal to locate the object.
> If this object's "index_html" (maybe acquired) is 'None',
> then call the object; otherwise, use "index_html".
>
> Thus, you archive what you want by:
>
> index_html = None
> __call__ = DTMLFile(...)
There's also that hook to specify the name of the method to look for
instead of index_html. As I understand it, this code is in Zope, and has
been for ages, even for normal folders, it's just that no one got around
to implementing a ZMI UI for it :-S
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list