[Zope-dev] REQUEST, RESPONSE & Acquisition

Michael Collins Michael_Collins@amchoor.ndim.edrc.cmu.edu
Tue, 22 Jun 1999 15:44:53 -0400


Hi, I'm building an external method which looks at its parent folders list of 
DTML documents and publishes it.  At first, I thought I could just call the 
document template, something like:

	function return(self):
		toReturn = self.index_html
		return toReturn(toReturn)

This works fine as long as the document has no variables of its own, but if, 
say default_html_header is referenced, the call barfs.  As far as I can tell, 
the document has acquired nothing.  I've been poking around the source code, 
and I'm really not sure what's going on.  Does anyone have a helpful 
suggestion?