[Grok-dev] Is there a before publish event?

Sebastian Ware sebastian at urbantalk.se
Tue Jun 15 05:05:04 EDT 2010


Thanks! I will experiment with:

  IEndRequestEvent

but, also by modifying the request object to avoid doing the computation more than once. I'll post back what seems to work unless someone has a better solution.

Mvh Sebastian

15 jun 2010 kl. 10.46 skrev Wichert Akkerman:

> On 6/15/10 10:13 , Sebastian Ware wrote:
>> IBeforeTraverseEvent is called before traversing each part of a request so it isn't very good for forcing things like layers if it requires some computing. Is there an event fired once prior to the publishing process (ie first thing when the request arrives)?
> 
> I would do that in an after-traverse event. You can do that for Zope2, 
> not sure if the Zope3 publisher supports it.
> 
> Wichert.
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev



More information about the Grok-dev mailing list