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
Though less elegant, perhaps this will work: dtmlIndex = DTMLFile('dtml/indexHomepage', globals()) def index_html(self): """ docstring! """ return self.dtmlIndex(self,self.REQUEST) hth, Jim > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On