[Zope] manage_changeProperties doesn't for my zclass
Kevin Dangoor
kid@kendermedia.com
Wed, 16 Feb 2000 20:35:54 -0500
----- Original Message -----
From: "Thayer Gignoux" <tlg@teleport.com>
To: <zope@zope.org>
Sent: Wednesday, February 16, 2000 7:55 PM
Subject: [Zope] manage_changeProperties doesn't for my zclass
>
> <dtml-call "manage_changeProperties({
> firstname : REQUEST['firstname'],
> lastname : REQUEST['lastname']
> })">
>
> But even though it (presumably) executes without errors it just never
works.
> I know I'm missing something really basic here. Any help would be
> appreciated. And yes I realize this is not a terribly good real-world
> solution but I'm trying to bring myself up to zope speed with a simple
> mailing list service.
This is a really easy one to miss. It should be:
<dtml-call "manage_changeProperties({
'firstname' : REQUEST['firstname'],
'lastname' : REQUEST['lastname']
})">
Note the quotes around firstname and lastname. It was evaluating those
variable, so it was essentially trying to set properties called "Thayer" and
"Gignoux".
Kevin