[Zope] Handling of Multiple :list's

Chris Withers chrisw@nipltd.com
Thu, 17 Jul 2003 13:25:42 +0100


Julian Clark wrote:
> <!--#in amountlist -->
> <!--#in marketinglist -->
> <dtml-call "REQUEST.set('amount',_['sequence-item'])">   // using amount list
> <dtml-call "REQUEST.set('dealer_no',_['sequence-item'])"> // using marketing list
> <!--#call amend_holding_table -->
> <!--#/in -->
> <!--#/in -->

Eeek! This really should be a python script...

parameters: amountlist, marketinglist

for a in amountlist:
   for m in markinglist:
      context.amend_holding_table(amount=a,deal_no=m)

what is amend_holding_table? DTML? ZSQL?

cheers,

Chris