It's a method of ObjectManager: def manage_delObjects(self, ids=[], REQUEST=None): so: <dtml-call expr="manage_delObjects(['firstid', 'secondid'])"> Be sure to call it on the folder you want to remove the objects from, so either use a <dtml-with myFolder>, or change the expr to "myFolder.manage_delObjects(...)". -Randy
-----Original Message----- From: Steffen Bergmann [mailto:steffen.bergmann@friatec.de] Sent: Thursday, March 15, 2001 6:41 AM To: zope@zope.org Subject: [Zope] Deleting Objects with DTML
Does anyone know how to delete a ZOPE Object within a DTML Method. Something like <dtml-call "manage_delObject(id)"? I didn't found anything in the API. Or is it better directly done with a Python Skript?
Steffen
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )