-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02.04.2009 5:20 Uhr, Bobby wrote:
> Hi,
> 
> I have a variable called "checkGroup" where its values are the record ids 
> that the user selected to be deleted. I have a deleteRecord method that takes 
> two arguements, one the sql table and the record id to be deleted. The code 
> below works fine except for when the user only select one item from the 
> checkGroup list, I get an error "string not allow in in". Any suggestions of 
> how I could fix this? Thanks.   
> 
> <dtml-in checkGroup>
>   <dtml-let deleteItem=sequence-item>
>     <dtml-var "deletedRecord(table,deleteItem)">
>   </dtml-let>
> </dtml-in>


Trible check that your form parameters use the ':list' directive within
the NAME attributes (check with the Zope Book (docs.zope.org).

- -akj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknURWAACgkQCJIWIbr9KYyepgCcCv5yINX6+DenO0SayWY3HnML
Jo8AoOlY7ykeWzI/g2jPfklXUVy5wgIS
=L0Im
-----END PGP SIGNATURE-----
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to