Hi.
 
I have always been able to nest dtml methods inside the same folder or calling methods within the  acquisition hierarchy (upward) , one calling another, calling another, etc
 
But now I cannot make this same process work when I try it using different levels of folder hierachy (downards):
 
A simple example:
 
/
|
- testroot (dtml method)
|
+ input (Folder)
     |
     -- test1 (dtml method)
     |
     -- test2 (dtml method)
 
 
The contents are the following (all are one-liners):
 
1) testroot (at the root folder):
 
<dtml-var "input.test1()">
 
Note: If I try w/o the quotes and parenthesis then it does not recognize 'input.test'. Is this supposed to work like this?
 
 
2) test1(at the 'input' folder):
 
<dtml-var test2>
 
Note: I tried to add quotes and parenthesis but it made no difference here. I also tried to fully qualify the variable, making it 'intput.test2' because I thought that maybe it was evaluating it from the perspective of the caller, which is in the root folder. But this did not work either.
 
 
3) test2 (at the 'input' folder):
<h2>Hello!</h2>
 
 
I always get an error when calling /testroot . The error and traceback is:
 

Error Type: KeyError
Error Value: test2

Traceback (innermost last):
  File /usr/local/zope210/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/local/zope210/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/local/zope210/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /usr/local/zope210/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/local/zope210/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: testroot)
  File /usr/local/zope210/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: testroot)
  File /usr/local/zope210/lib/python/OFS/DTMLMethod.py, line 145, in __call__
    (Object: testroot)
  File /usr/local/zope210/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: testroot)
  File /usr/local/zope210/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval
    (Object: input.test1())
    (Info: input)
  File &lt;string&gt;, line 0, in ?
  File /usr/local/zope210/lib/python/OFS/DTMLMethod.py, line 141, in __call__
    (Object: test1)
  File /usr/local/zope210/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: test1)
KeyError: (see above)

Using Zope 2.1.0 final.

 
Where am I wrong??
 
Thanks.
 
Alan