cybercruiserz at yahoo.com
Thu Apr 2 12:47:54 EDT 2009
that works, thanks.
--- On Wed, 4/1/09, Andreas Jung <lists at zopyx.com> wrote:
From: Andreas Jung <lists at zopyx.com>
Subject: Re: [Zope] dtml-in
To: cybercruiserz at yahoo.com
Cc: zope at zope.org
Date: Wednesday, April 1, 2009, 10:56 PM
-----BEGIN PGP SIGNED MESSAGE-----
On 02.04.2009 5:20 Uhr, Bobby wrote:
> 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)">
Trible check that your form parameters use the ':list' directive within
the NAME attributes (check with the Zope Book (docs.zope.org).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Zope