Re: [Zope] display object without index_html

2005-05-25 Thread Chris Withers
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__ =

Re: [Zope] display object without index_html

2005-05-19 Thread Dieter Maurer
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: >

RE: [Zope] display object without index_html

2005-05-19 Thread Jim Abramson
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

[Zope] display object without index_html

2005-05-18 Thread Christopher Rivard
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'