[Zope] Re: Trouble with dtml-with

Dieter Maurer dieter@handshake.de
Sat, 16 Nov 2002 20:50:44 +0100


Roger Fisher writes:
 > Naturally, the first thing I tried was <dtml-with FolderB> which returned a
 > KeyError on FolderB.
 > ...
 >  > I cannot figure out how to <dtml-with> to get from Method1 (in FolderC)
 > to
 >  > code in FolderB.  FolderB is parallel to Method1's parent (FolderC).
It is more important for what object you call "Method1" than
where is lives (the latter is usually irrelevant).

When you call "Method1" for an object in "FolderC", then it will find
"FolderB" (through acquisition).


Dieter