[Zope] Help w/ manage_delObjects
JBeard@porternovelli.com
JBeard@porternovelli.com
Fri, 14 Feb 2003 11:16:11 -0500
I'm trying to delete an object but am encountering an error:
My form is simple:
form action="delete"
input type="submit" value="delete"
input type=" hidden" value="outputs id here" name="del_object"
/form
delete is a python script that looks like this:
request = container.REQUEST
RESPONSE = request.RESPONSE
context.manage_delObjects(request.del_object)
RESPONSE.redirect(request['HTTP_REFERER'])
This is supposed to delete the object passed from the form being
"del_object"
My Error:
Error Type: Bad Request
Error Value: filetobedeleted_id.html does not exist
However the file does exist - so I'm not for sure why this isn't deleting?