[Zope] manage_beforeDelete

Júlio Silva jsilva@ruido-visual.pt
Tue, 24 Sep 2002 20:26:15 +0200


--=======3460D07=======
Content-Type: text/plain; x-avg-checked=avg-ok-71C96405; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit

  When I rename one object (one instance of a zclass) the object actualy is 
deleted and then created, which makes the trigger manage_beforeDelete to be 
called on the delete operation. the problem is I dont want to call 
manage_beforeDelete when renaming this object. Is there a way to test in 
manage_beforeDelete (defined in my zclass) If the ZMI operation is a rename 
or a delete?

	-- Julio Silva

--=======3460D07=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-71C96405
Content-Disposition: inline


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/2002

--=======3460D07=======--