2009年4月28日星期二

Re: [fw-mvc] Dojo dijit undefined error

The 2nd approach helped.

1) I had to echo the form before enabling dojo;
2) I had to call registerDijitLoader();

Many thanks for the useful advice.

On Fri, Apr 24, 2009 at 7:28 PM, Giorgio Sironi
<piccoloprincipeazzurro@gmail.com> wrote:
> 2009/4/23 Kostyantyn Shakhov <kshakhov@gmail.com>
>>
>> I just tried echo the form before the the
>> onLoadCaptureStart/onLoadCaptureEnd but it didn't help. The JS code in
>> the head section remains the same.
>> > you can call $this->dojo()->registerDijitLoader() at the startup, before
>> > adding the other onLoad hooks.
>
> And this approach, that seems more straightforward?
>
> --
> Giorgio Sironi
> Piccolo Principe & Ossigeno Scripter
> http://ossigeno.sourceforge.net
>

没有评论: