[Zope] manage_changeProperties

Dieter Maurer dieter@handshake.de
Thu, 12 Jul 2001 20:36:34 +0200 (CEST)


kent sin writes:
 > WHY
 > 
 > doc.manage_changeProperties(listProperty=1)
 > 
 >  works but
 > 
 > doc.manage_changeProperties({'listProperty':1}) 
 > 
 > doesn't ?
Because it expects its first (optional) positional argument
to be a "Request" object.

You may try to emulate what you want with:

    REQUEST.other.update({'listProperty':1})">
    doc.manage_changeProperties(REQUEST)


Dieter