10 Apr
1999
10 Apr
'99
2:34 p.m.
On Fri, 9 Apr 1999, Oliver Thuns wrote:
T = DocumentTemplate.HTMLFile('sample.dtml') print T(u=1, t={'1': 'abc', '2': 'DEF'})
<!--#var name="u"--> and <!--#var name="t"-->
works, but not
<!--#var name="t['1']"-->
What's wrong with this?
Python: print T(None, {'t': 'abc', 'w': 'DEF'}) DTML: <!--#var t--> <!--#var w--> Oleg. ---- Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/ Programmers don't die, they just GOSUB without RETURN.