2008年9月25日星期四

Re: [fw-mvc] two column site

Thanks! I must've read over that one. That'll fix everything. I indeed
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
>

没有评论: