[Zope] Deleting Objects with DTML

Phil Harris phil.harris@zope.co.uk
Thu, 15 Mar 2001 14:49:09 -0000


Oooh, if you only knew how close you were:

<dtml-call "manage_delObjects(['id','id2','id3'])">

The method takes a list, so iirc you need to cooerce the ids into a list for
it to work.

Phil
phil.harris@zope.co.uk

----- Original Message -----
From: "Steffen Bergmann" <steffen.bergmann@friatec.de>
To: <zope@zope.org>
Sent: Thursday, March 15, 2001 2:40 PM
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 )