<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dieter Maurer wrote:
<blockquote cite="mid17659.5113.586355.425488@gargle.gargle.HOWL"
 type="cite">
  <pre wrap="">Ferhat Ayaz wrote at 2006-9-2 04:40 -0700:
  </pre>
  <blockquote type="cite">
    <pre wrap="">...
I want to do this with DTML.

&lt;select&gt;
&lt;dtml-in getDicts&gt;
&lt;option&gt;
        HOW CAN I PUT the keys 'name' HERE ????
&lt;/option&gt;
&lt;/dtml-in&gt;
&lt;/select&gt;
(getDicts returns the above list of dictionaries)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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).



  </pre>
</blockquote>
Ferhat,<br>
<br>
If you are new to Zope do yourself a favor and forget about DTML.&nbsp; Yeah
its fun and (seemingly) easy to learn.&nbsp; But I argue for Page Templates
+ python.&nbsp; Python is so much clearer than dtml - and Page Templates +
python *is* the favored zope paradigm.<br>
<br>
But if you insist - Casey Duncan wrote a nice product (dtml-eval) and
an interesting discussion&nbsp; about DTML and what to watch out for ...<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.zope.org/Members/Kaivo/EvalTag_HowTo">http://www.zope.org/Members/Kaivo/EvalTag_HowTo</a><br>
<br>
<br>
<br>
<br>
</body>
</html>