14 Apr
2004
14 Apr
'04
10:25 p.m.
Thanks!! That did it. Chris ----- Original Message ----- From: Jesse Pavel To: Chris Bruce Cc: zope@zope.org Sent: Wednesday, April 14, 2004 3:26 PM Subject: Re: [Zope] Dictionary and dtml-in Chris Bruce on April 14, 2004 wrote:
I have a method in a python product that builds a dictionary object. When I try to use <dtml-in> to iterate over it, none of the <dtml-var > work for the key name. I can reference them only by using <dtml-var "_['sequence-item']['key_name']"> . Is there a way to make the keys work in the <dtml-var > statement?
Is this having to do with acquisition?
Chris
I believe that you need to use the "mapping" keyword of <dtml-in>. - Jesse