[Zope-DB] Why doesn't this  work?
    Gál László 
    Gal.Laszlo at peto.hu
       
    Wed Dec 24 08:08:31 EST 2003
    
    
  
>  <input name="title" type="checkbox" value="<dtml-var caption>">
Hi!
Naming your input
  <input name="title:list" type="checkbox" value="<dtml-var caption>">
always will give you a list of titles. (You can also use the others (:int, :string and so on) to make sue of the type of the result)
Then, you can use the following zsql method
 <params>titel</params>
<dtml-in title>
 delete from article where caption=<dtml-sqlvar sequence-item type=string>;
</dtml-in>
Lac
-- 
Europe now without walls - who needs Gates?
http://latz.linsze.hu 
    
    
More information about the Zope-DB
mailing list