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



Simplistix - Content Management, Zope & Python Consulting

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to