[Zope] manage_beforeDelete

2006-10-09 Thread Garito
Hi all! I have a class like these: class Test(CatalogAware, , OrderedFolder): def manage_beforeDelete(self, item, container): CatalogAware.manage_beforeDelete(item, container) OrderedFolder.manage_beforeDelete(item, container) I only put the relevant code If I delete de

Re: [Zope] manage_beforeDelete

2006-10-09 Thread Paul Winkler
On Fri, Jul 02, 2004 at 07:40:31PM +0200, Garito wrote: Hi all! I have a class like these: class Test(CatalogAware, , OrderedFolder): def manage_beforeDelete(self, item, container): CatalogAware.manage_beforeDelete(item, container)

[Zope] manage_beforeDelete, BeforeDeleteException and Redirect

2005-08-02 Thread Arthur Lutz
Hi all, I'm having a bit of struggle with OFS.ObjectManager in Zope 2.7.6-final. In a manage_beforeDelete I want to raise a Redirect but it gets eaten up by in ObjectManager by a log and pass (line 307). My question is: how do I get a Redirect through or how do I use the Exceptions that are

Re: [Zope] manage_beforeDelete, BeforeDeleteException and Redirect

2005-08-02 Thread Florent Guillaume
Arthur Lutz [EMAIL PROTECTED] wrote: I'm having a bit of struggle with OFS.ObjectManager in Zope 2.7.6-final. In a manage_beforeDelete I want to raise a Redirect but it gets eaten up by in ObjectManager by a log and pass (line 307). My question is: how do I get a Redirect through or how do

[Zope-dev] Fwd: [Zope] manage_beforeDelete

2002-09-25 Thread JĂșlio Silva
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