[Zope] NEWBIE: manage_delObject, manage_delProperties?

Tommy Johnson tommy@7x.com
Mon, 29 Oct 2001 14:04:00 -0900


manage_delObjects and manage_delProperties expect a list. (List of ids)

Tommy
Innovation: The Best Way To Predict The Future ... Is To Create It.

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Julián Muñoz Domínguez
> Sent: Monday, October 29, 2001 1:56 PM
> To: zope@zope.org
> Subject: Re: [Zope] NEWBIE: manage_delObject, manage_delProperties?
>
>
> I am using manage_delObjects method directly over the object.
> This is not very well documented, It's the only way I found to do it.
>
>
>
> >>>>>>>>>>>>>>>>>> Mensaje original <<<<<<<<<<<<<<<<<<
>
> El 29/10/01, 20:11:13, michael@exasource.com (Michael) escribió sobre el
> tema [Zope] NEWBIE: manage_delObject, manage_delProperties?:
>
>
> > I'm trying to figure out how to delete an object from Zope.  I use
> > manage_editProperties to add and index, and manage_changeProperties
> > to edit and reindex, that all works fine, but I'm not sure how
> to delete.
>
> > I am using :
>
> > <dtml-call
> "propertysheets.entry_info.manage_delProperties(REQUEST)"> and
> > this just gives me an error message and I also tried:
>
> > <dtml-call
> "propertysheets.entry_info.manage_delObject(REQUEST)"> but that
> > errors out too.
>
> > I am using this on a database object that contains the fields:
> > id (this is set by ZopeTime)
> > first_name
> > last_name
> > email_address
> > mail_request
> > interest_area
>
> > Can anybody point out what I am doing wrong?
>
> > Michael
>
> > _______________________________________________
> > 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 )
>
> _______________________________________________
> 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 )