[Zope] How to use a variable in a <dtml-with > statement
Geir B Hansen
Geir B Hansen <geirh@funcom.com>
Tue, 11 Jan 2000 20:19:15 +0100
on 11. januar 2000 Lucas Hofman wrote :
LH> Stimulated by the quick reply on my previous question the next:
LH> Situation is an object tree like this
LH> main-\
LH> \- 01
LH> \- 02
LH> \- 03
LH> \- 04
>>From a method in main I would like to refer to one of its subdirectories
LH> dependend on the value of a variable. I can't find the right syntax for
LH> the <dtml-with > statement.
LH> Thanks for helping me out.
try (untested)
<dtml-with "_[variablename]">
--
Geir B Hansen
web-developer/designer
geirh@funcom.com
http://www.funcom.com