<!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.
<select>
<dtml-in getDicts>
<option>
HOW CAN I PUT the keys 'name' HERE ????
</option>
</dtml-in>
</select>
(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. Yeah
its fun and (seemingly) easy to learn. But I argue for Page Templates
+ python. 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 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>