[Zope] Inserting variables into expressions
Oleg Broytmann
Oleg Broytmann <phd@phd.pp.ru>
Thu, 6 Sep 2001 15:20:57 +0400
On Thu, Sep 06, 2001 at 12:11:50PM +0100, Roger Sillito wrote:
Roger> <dtml-var "aFolder._.getitem('aVariable').tag(border=0, align='right')">
My brain hurted trying to count number of mistakes you did. Do you
understand all that _. and getitem?
Well, try this (untested):
<dtml-var "aFolder[aVariable].tag(border=0, align='right')">
Oleg.
----
Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.