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__ =
Christopher Rivard wrote at 2005-5-18 11:51 -0600:
>i am developing a Zope product (2.7) with a "homepage" content type and
>want this object to display as the index of a folder.
>for other custom objects, i have display methods that call an index view
>( using DTMLFile) of the object like this:
>
AIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Christopher Rivard
> Sent: Wednesday, May 18, 2005 1:51 PM
> To: zope@zope.org
> Subject: [Zope] display object without index_html
>
> i am developing a Zope product (2.7) with a "homepage"
> content t
i am developing a Zope product (2.7) with a "homepage" content type and
want this object to display as the index of a folder.
for other custom objects, i have display methods that call an index view
( using DTMLFile) of the object like this:
#homepage view
index_html = DTMLFile('dtml/indexHomepage'