[Zope] manage_delObjects()

Chris Withers chris at simplistix.co.uk
Thu Mar 24 03:10:00 EST 2005


Leticia Larrosa wrote:

> Thanks for all the answer but I try, for example whit:
> 
> folderToDelete = 'toDelete'
> container.manage_delObjects([folderToDelete])

if something called 'toDelete' exists, then this should work.

> container.manage_delObjects([container[folderToDelete].getId()])

This is just tortological ;-)

What does the code surrounding this section look like? I suspect that's 
where the problem lies...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope mailing list