RE: [Zope] Re: still confused newbie
That doesn't sound right. Try this:: <dtml-call "test.manage_changeProperties({'msg': 'blablabla'})"> -- Alexander Staubo http://www.mop.no/~alex/ "`Ford, you're turning into a penguin. Stop it.'" --Douglas Adams, _The Hitchhiker's Guide to the Galaxy_
-----Original Message----- From: lethal@innocent.com [mailto:lethal@innocent.com] Sent: 29. august 1999 17:38 To: zope@zope.org Subject: [Zope] Re: still confused newbie
well, i was close to assume that it could be like that (i guess, i even tried it accidentally).
nevertheless, if i change the line respecting your suggestion, all i get is "blablabla" in the property "msg" of the *folder* called "newbie".
i agree with you that it sounds bloody logical and that it *should* work like that. but the "msg" property in the dtml-document "test" still remains the original value.
what else could i do wrong???`
tobi
letha-@innocent.com wrote: original article:http://www.egroups.com/group/zope/?start=10898
lethal@innocent.com wrote:
<dtml-with test> <dtml-call "manage_changeProperties ({'test.msg': 'blablabla'})"> </dtml-with>
This is *almost* right. It attempts to change a property of 'test' named 'test.msg'. Since 'test' has no such property, this fails silently. You want:
<dtml-with test> <dtml-call "manage_changeProperties ({'msg': 'blablabla'})"> </dtml-with>
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Alexander Staubo