Florent Guillaume wrote:
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 ins
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__,
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__, but this gets exec
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] -
Christian Theune wrote:
Florent Guillaume:
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.
Are your talking about a short thing for 2.7?
Yes we need it for CPS which c
Hi,
Are your talking about a short thing for 2.7? In 2.8 I wonder if the
Publisher could start using e.g. Zope 3 events. Are there events for
this around in Z3 already? This would be a good way of improving
transition to Z3 in a compatible manner, if both systems e.g. publisher
modules would spit
Florent Guillaume wrote at 2005-4-1 17:48 +0200:
> ...
>Open issues are:
>1. what if there's an exception in the hook? I'd say log it but that's all.
I prefer: fail in the usual way.
>2. what if there's a Conflicterror? That's tougher to deal with... The
>transaction has to be retried, without t
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,
I didn't know about that hook, but from reading the code it seems it
takes place before publishing, not after.
There's the recent post_traverse hook too, but that's not what I want.
Florent
Chris McDonough wrote:
When do you think it should be called? I just had to override
zpublisher_validated_
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 publ
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__, but this gets executed outside the main tra
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
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 res
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
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
before starting publishing a new request. My Zope server is running as
15 matches
Mail list logo