[Zope] Re: Setting array variables from a table call

Maik Jablonski maik.jablonski@uni-bielefeld.de
Sun, 13 Oct 2002 10:58:25 +0200


McDonnell, Larry wrote:
> Hi,
> 
> Can anyone point me to any examples on how to set an array of variables
> after a <dtml-in> call (Customer names) and populate a pull down menu using
> the select feature? Thanks.
> 

untested, but should work like this:

<dtml-let yourArray="[]">

<dtml-in yourSequence>

  <dtml-call "yourArray.append(CustomerName)">

</dtml-in>

Now you can work with yourArray...

</dtml-let>

cheers, maik

-- 
Maik Jablonski                 __o
www.zfl.uni-bielefeld.de     _ \<_    Deutsche Zope User Group
Bielefeld, Germany          (_)/(_)               www.dzug.org