Have you tried: <dtml-call "manage_delObjects(ids=idChk)"> hth btw This is a forum for developers of Zope and your question would probably get a better response on the main Zope list (zope@zope.org). Thanks for listening. phil phil.harris@zope.co.uk ----- Original Message ----- From: "Johan Beauce" <jbeauce@odyssey-group.com> To: <zope-dev@zope.org> Sent: Tuesday, August 14, 2001 1:04 PM Subject: [Zope-dev] manage_delObjects : problem DTML & Python
Hello,
this is my code where I have problem :
<dtml-in "REQUEST.form[('idChk')]"> <dtml-call "manage_delObjects(REQUEST.idChk[<dtml-var sequence-number>])"> </dtml-in>
REQUEST.form[('idChk')] return a list wich I receive from a "form". But this code is wrong because Zope don't accept a <dtml-var> in a <dtml call>. How can I insert an index for delete all objects that return my list idChk ? Do I have to use Python script for solve this problem.
Thanks a lot,
Johan Beaucé.
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )