9 Jul
2002
9 Jul
'02
11:05 a.m.
Charlie Reiman wrote:
Dictionaries don't work, as I mentioned. That is, I can return dictionaries but then I have to access them in DTML will cruft like:
<dtml-var expr="_['sequence-item']['favorite_food']">
which strikes me as ridiculous. It's just personal opinion though.
so don't use DTML ;-) in ZPT, it would be something like: <tal:x repeat="item here/yourPythonScript"> <tal:x replace="item/favourite_food"> </tal:x> cheers, Chris