[Zope] Building a list programmatically under DTML

Timothy Grant tjg@avalongroup.net
Tue, 07 Sep 1999 20:48:53 +0200


Martijn Pieters wrote:
 >
 > >Timothy Grant wrote:
 > >
 >
 > Just try
 >    <dtml-call "desc.append(_[Category])">
 >    <dtml-call "desc_qty.append(qty)">
 >
 > You don't need the idx var at all this way.
 >

OK, this worked beautifully.

Now I need to get the information back out of the list:

I was under the impression that the <dtml-in> tag would do this,
however,

<dtml-in desc>
<dtml-var "_['sequence-item']">
</dtml-in>

gives me the entire list, not each individual item.

What am I doing wrong here?

--
Stand Fast,
     tjg.

Red Hat Certified Engineer                 tjg@avalongroup.net
Chief Technology Officer                   www.avalongroup.net
Avalon Technology Group, Inc.                   (503) 246-3630
 >>>>>>>>>>>>Exceptional Minds, Innovative Products<<<<<<<<<<<<