[Zope] Deleting an Object through a link

Jeffrey Shell Jeffrey@digicool.com
Mon, 17 May 1999 12:23:27 -0400


> <a href="Houses/manage_delObjects([<!--#var id-->])">delete House</a>

You need to call it with a URL syntax, not python::

<a href="House/manage_delObjects?ids:list=<!--#var id-->">delete
house</a>

(adding the :list marshalls the id into a list object, even though we're
only passing in one.)

-----Original Message-----
From: Alexander Schad [mailto:ags@beehive.de]
Sent: Monday, May 17, 1999 12:05 PM
To: zope@zope.org
Subject: [Zope] Deleting an Object through a link


Hi!
I want to provide a link in a html-page that deletes a certain Object.
My
idea was something like:

<a href="Houses/manage_delObjects([<!--#var id-->])">delete House</a>

but the syntax doesn´t seem to be correct.
Any ideas?
Bye
	Alex


_______________________________________________
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 )