[Zope] DTML Question on lines

Tim Cook twcook@iswt.com
Thu, 07 Sep 2000 15:12:09 -0500


"Coleman, Bryan" wrote:
> 
> I am trying to itterate through a lines property in the folder so that the
> options will drop down. I did not think that the following code would work
> but I could not think of anything else.
> 
>           <dtml-in valid_codes>
>              <option value="<dtml-var valid_codes>"><dtml-var
> valid_codes>&nbsp;</option>
>           </dtml-in>
> 
 
Try this Bryan,

<SELECT name="mySelection">
<dtml-in valid_codes>
     <option value="<dtml-var sequence-item>"> <dtml-var sequence-item>
&nbsp; </option>
</dtml-in>
</SELECT>


-- Tim Cook --
FreePM Project Coordinator http://www.freepm.org
OS Health Care Alliance Supporter http://www.oshca.org