Hi,
I know it's a silly question. But I was not able to
find an example for this:

I have a list of dicts like 
[
 {'name':'John','age':27},
 {'name':'Marc','age':17}, 
 {'name':'Susanne','age':19}
]

Now I want to iterate each 'name' like
<select>
 <option>John</option>
 <option>Marc</option>
 <option>Susanne</option>
</select>

I want to do this with DTML.

<select>
<dtml-in getDicts>
<option>
         HOW CAN I PUT the keys 'name' HERE ????
</option>
</dtml-in>
</select>
(getDicts returns the above list of dictionaries)


Thanks and greets,
Ferhat




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to