[Zope] generalizing DTML method question

Jean Jordaan Jean@mosaicsoftware.com
Tue, 22 Aug 2000 12:12:51 +0200


Hi Zopers

How do I generalize this DTML method?

.......................................
<dtml-call "REQUEST.set('myList', [])">

<dtml-in origin_values>
 <dtml-call "myList.append(name)">
</dtml-in>

<dtml-return myList>
.......................................

The problem is that 'origin_values' bit. It's a TinyTable.
I want to make 'makeList' a DTML method on its own, and then
call it to make lists of:

  clearance_values  
  docs_values  
  origin_values  
  products_values  
  series_values  

-- 
jean