[Grok-dev] Is there a before publish event?
sebastian at urbantalk.se
Tue Jun 15 05:05:04 EDT 2010
Thanks! I will experiment with:
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.
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.
> Grok-dev mailing list
> Grok-dev at zope.org
More information about the Grok-dev