[Zope] ZSQL question

Peter Bengtsson mail@peterbe.com
Tue, 24 Jul 2001 17:16:29 +0200


> I try this:
> <dtml-in IDS>
> <br><dtml-var sequence-item>
> <dtml-call expr="updateZSQL(id='<dtml-var sequence-item>')">
> </dtml-in>

Try this:

<dtml-in IDS>
     <br><dtml-var sequence-item>
     <dtml-call expr="updateZSQL(id=_['sequence-item'])">
</dtml-in>

the same:

<dtml-in IDS>
   <dtml-let eachid=sequence-item>  
       <br><dtml-var sequence-item>
       <dtml-call expr="updateZSQL(id=eachid)">
   </dtml-let>
</dtml-in>

Just like you can't make
<html> into <h<b>tm</b>l>