[Zope] [Zope 1.10] grand child inclusion?

Benjamin Ryzman benjamin.ryzman@easynet.fr
Thu, 07 Oct 1999 19:02:27 +0200


Doug Hellmann wrote:
> 
> benjamin.ryzman@easynet.fr wrote:
> 
> > If I call <!--#var "folderB.DTMLMethod2"--> in DTMLMethod1, I get the
> > HTML quoted contents of DTMLMethod2. I'd like to have the DTMLMethod2
> > called instead.
> 
> Is that a direct copy/paste from your page?  Try including the () after
> the method:
> 
> <!--#var "folderB.DTMLMethod2()"-->
> 
> to actually call it.

Yes, you're right. I get a NameError, however. DTMLMethod2 seems unable
to find the date_list() method, though it works when called directly
from folderB (as in the folderB/DTMLMetho2 url).