[Zope] nested calls

Dieter Maurer dieter@handshake.de
Fri, 12 Apr 2002 22:08:08 +0200


jochen writes:
 > I got the following problem (I'm using Zope 2.5.0):
 > When my index_html is called the following is supposed to happen:
 > index_html calls a dtml-method in a subfolder which then calls a
 > ZSQL-method stored in another subfolder.
 > It works fine as long as the index_html is accessing the dtml-method and
 > this dtml-method doesn't need to acces another dtml-method not in the
 > same folder. If I try to call another dtml-method in another folder then
 > it simply can't be found.
 > What can I do? Is there something like the context variable in
 > pythonscripts??
 > By the way:
 > I tried to it with dtml-with but that also didn't work.
Usually, it works....

But your description is not very clear. Therefore, I cannot tell you
what is wrong.

Did you read "Calling DTML objects" in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>

Do it. And when the problem persists come back with a clearer description.


Dieter