Re: [Zope] Dictionary in ZPT
12 Sep
2006
12 Sep
'06
1:25 p.m.
On 9/12/06, Andreas Jung <lists@zopyx.com> wrote:
tal:define="dummy python: somedict.update({key:value})"
See, I never manipulate dictionaries in TAL and forgot you had to do it that way. I gave the wrong answer in my reply. -- Martijn Pieters
13 Sep
13 Sep
7:28 a.m.
New subject: [Zope] Dictionary in ZPT
Martijn Pieters wrote:
On 9/12/06, Andreas Jung <lists@zopyx.com> wrote:
tal:define="dummy python: somedict.update({key:value})"
See, I never manipulate dictionaries in TAL and forgot you had to do it that way. I gave the wrong answer in my reply.
That's because manipulating dictionaries in a ZPT is just plain evil :-( Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
7144
Age (days ago)
7145
Last active (days ago)
1 comments
2 participants
participants (2)
-
Chris Withers -
Martijn Pieters