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 )