16 Jul
2002
16 Jul
'02
2:03 p.m.
<python parameter-list:oldid,newid,tittel,contents> #context.manage_addProduct['OFSP'].manage_addFile(newid,file=conte nts,title=tittel) #context.manage_addProduct['OFSP'].manage_delObjects(oldid)
context.manage_renameObject(, newid, REQUEST) almost: parent.manage_renameObjects( ids=[oldlid], new_ids=[newid] )
manage_renameObjects expects a list of objects. You don't pass the REQUEST object, unless you want ZOPE to redirect you to the manage screen. Douwe