FW: [Zope] Deleting an object from ZCatalog search results
James van der Veen
james@codenamefuture.nl
Mon, 4 Feb 2002 17:18:35 +0100
Hi you could try this:
***Untested***
<dtml-call "manage_delObjects(ids=[theidiwanttodelete])">
/untested
Theidiwanttodelete is the form variable in this case.
Hope this works
Greetz,
James
>
> > -----Oorspronkelijk bericht-----
> > Van: zope-admin@zope.org [mailto:zope-admin@zope.org]Namens
> > Nuno Maltez
> > Verzonden: maandag 4 februari 2002 15:44
> > Aan: zope@zope.org
> > Onderwerp: [Zope] Deleting an object from ZCatalog search results
> >
> >
> > Hi,
> >
> > What do you consider to be the easiest way to delete an
> > object "returned"
> > in a ZCatalog search. I can get the object by using getObject on
> > the data_record_id_, but how can I delete it?
> >
> > Do I need to do some sort of traversal to the folder that
> contains the
> > object?
> >
> > Is there a method for an object to delete itself? Something like
> >
> > <dtml-call "object.self_destruct()">
> >
> >
> >
> >
> > Thanks in advance,
> > Nuno
> >
> > _______________________________________________
> > 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 )
> >
>