Re: [Zope-dev] post publishing hook

2005-04-04 Thread Christian Theune
Am Montag, den 04.04.2005, 13:39 +0200 schrieb Florent Guillaume: Yes we need it for CPS which currently works with 2.7 (no customer is ready to move to 2.8 yet). Neither is 2.8. ;) -- gocept gmbh co. kg - schalaunische str. 6 - 06366 koethen - germany www.gocept.com - [EMAIL PROTECTED] -

Re: [Zope-dev] post publishing hook

2005-04-04 Thread Florent Guillaume
Jim Fulton wrote: Florent Guillaume wrote: I really could use a post publishing hook. Standard use case: delay indexing at the end of the request to only do it once per object even if the object has been modified 4 times. Today there's the REQUEST._hold() hack with an instance having a __del__,

Re: [Zope-dev] post publishing hook

2005-04-01 Thread Chris McDonough
When do you think it should be called? I just had to override zpublisher_validated_hook to do some stuff that would have been a bit easier if a different hook existed, but that might be a different use case... On Fri, 2005-04-01 at 10:48, Florent Guillaume wrote: I really could use a post

Re: [Zope-dev] post publishing hook

2005-04-01 Thread Florent Guillaume
Chris McDonough [EMAIL PROTECTED] wrote: When do you think it should be called? I should have answered that clearly: I'd put it in ZPublisher.publish, like this: result=mapply(object, request.args, request, call_object,1, missing_name,

Re: [Zope] Re: [Zope-dev] post-publishing hook

2002-12-12 Thread Florent Guillaume
Shane Hathaway [EMAIL PROTECTED] wrote: On 11/29/2002 01:33 PM, Ivo van der Wijk wrote: On Fri, Nov 29, 2002 at 01:07:24PM +0100, Carlo Giomini wrote: Dear all, I need a sort of post-publishing hook (so to say). I need Zope to call a function of mine as the very last action of

Re: [Zope-dev] post-publishing hook

2002-11-29 Thread Ivo van der Wijk
On Fri, Nov 29, 2002 at 01:07:24PM +0100, Carlo Giomini wrote: Dear all, I need a sort of post-publishing hook (so to say). I need Zope to call a function of mine as the very last action of publishing a request, i.e. after having built the response (and sent it to the browser possibly), but

Re: [Zope] Re: [Zope-dev] post-publishing hook

2002-11-29 Thread Shane Hathaway
On 11/29/2002 01:33 PM, Ivo van der Wijk wrote: On Fri, Nov 29, 2002 at 01:07:24PM +0100, Carlo Giomini wrote: Dear all, I need a sort of post-publishing hook (so to say). I need Zope to call a function of mine as the very last action of publishing a request, i.e. after having built the