9 Dec
2003
9 Dec
'03
7:10 p.m.
jason yee wrote at 2003-12-8 17:53 -0500:
i'm trying to pass an arguement from the REQUEST (e.g. myzope.com/index_html?foo=bar) to a dtml-tree in a dtml method (e.g. <dtml-tree foo branches="obejctValues"> where foo's content should evaluate as a folder which the tree will use as a root).
What you are looking for is "computed variable access". In DTML, you can use "_.getitem(expr)" for this. Read the "Name lookup section" of <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> for more details. -- Dieter