7 Oct
1999
7 Oct
'99
5:02 p.m.
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).