[Zope] newbie Q

kedai kdie@kedai.com.my
Tue, 21 Sep 1999 17:36:57 -0400


hi,
sorry to burden you guys with such simple problem.  but the answer eludes me.  

Problem:
i have folders contained in root like so

 /
 LfolderA
 |    LfolderA.1
 |
 LfolderB
    .
    .
    and so on

each folder ha s a dtml method main.  there's only one index_html method  - which is in root dir - calling method main.  
if i call <dtml-var main>, the dtml method from root will always be returned.

Q:
How can i get main from any folders returned to index_html?  tried using <dtml-in X >, <dtml-var X> and <dtml-with X>  but i am not sure what X should be.

roughly what i did in index_html in root folder:

------------------------
<dtml-in X>
<dtml-with Y>
<dtml-var Z>
</dtml-with>
</dtml-in>

where X,Y,Z are combinations of the following:
objectValues, objectItems, PARENTS[0].main but to no avail

help ..?