[Zope] DTML Question

Dieter Maurer dieter@handshake.de
Tue, 14 Jan 2003 20:36:20 +0100


beno wrote at 2003-1-14 05:54 -0400:
 > I know one cannot nest DTML objects, but the below lets you know what I'm 
 > trying to accomplish. What is the correct syntax?
 > 
 > <dtml-let folder="<dtml-var id>">
You want background reading....
Did you already read the Zope Book?

You may also have a look at 

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

Search for "computed variable access" and read the "Name lookup" section.


Almost surely, you want

       <dtml-let folder="_.getitem(id)">


Dieter