used preDispatch for most of my plugins.
On Thu, Sep 25, 2008 at 11:47 AM, Giorgio Sironi
<piccoloprincipeazzurro@gmail.com> wrote:
> 2008/9/25 Pieter <ptrwrsm@gmail.com>:
>> I know of using the actionStack, but I've also noticed that when using
>> it, it'll execute all plugins twice (or more, depending on the amount
>> of actionstacks).
>
> That's not true. Probably your plugins hook on event like preDispatch
> that are repeated trough the dispatch loop. Use hook like routeStartup
> or dispatchLoopStartup instead.
>
>
> --
> Giorgio Sironi
> Piccolo Principe & Ossigeno Scripter
> http://www.sourceforge.net/projects/ossigeno
>
没有评论:
发表评论