12 Jul
2001
12 Jul
'01
9:25 p.m.
dieter, Thanks for the information. How can I construct a fake REQUEST from the python? Or are there any module in zope I can get? Rgs, Kent Sin --- Dieter Maurer <dieter@handshake.de> wrote:
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
__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/