Andreas Jung wrote at 2007-6-10 08:49 +0200: > ... >newob = container.manage_clone(...) >newob.manage_changeProperties(REQUEST=context.REQUEST) >catalog.catalog_object(...)
Minor remark: Usually, it is a bad idea to call "manage_changeProperties" (or other "mange*" methods) with a REQUEST argument. The "manage*" methods interpret the passing of "REQUEST" as "I am used from the ZMI" and often perform a redirect in this case -- with is usually not wanted. An alternative (but not sure) to the code above might be "...manage_changeProperties(**REQUEST.form)" -- Dieter _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )