-----Original Message----- From: Rik Hoekstra [mailto:fghoekstra@cit10.wsd.leidenuniv.nl] Sent: Monday, June 21, 1999 5:58 AM To: zope@zope.org Subject: [Zope] FW: [Zope] Still having problems with manage_delObjects
<!--#var standard_html_header-->
<!--#in "PARENTS[+1].objectValues(['Folder'])"-->
<!--#call "REQUEST.set('toDelete', ids)"-->
this suggests that there are more ids to delete. If so, you need to reference like <!--#if "id in toDelete"-->
<!--#if "id == toDelete"-->
<!--#call "manage_delObjects(id)"-->
Has been deleted..
Further along this line of tought, manage_delObjects wants a list of ids, when you explicitly call it, you must make sure ids is a list.
<!--#/if-->
<!--#/in-->
<!--#var standard_html_footer-->
An ideas on why this is not working. Maybe, it is because the delete function is within the folder itself, i am not sure. I can use the manage_delObjects fine as a link but not as a call.
It's really hard to tell what's wrong unless you give us more details on how it fails. Specificly, are you getting an error? Is there a traceback. -Michel
Thanks in advance for any assistance,
P.
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )