[Zope] iterating dictionaries with dtml-in

Dieter Maurer dieter at handshake.de
Sun Sep 3 13:42:17 EDT 2006


Ferhat Ayaz wrote at 2006-9-2 04:40 -0700:
> ...
>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)

You probably need the "mapping" attribute of "dtml-in" -- and maybe some
background reading (you should read the documentation (Zope Book 2.7 edition,
online on plope.org).



-- 
Dieter


More information about the Zope mailing list