2008年8月21日星期四

Re: [fw-mvc] question about view script

Using scriptHead is a solution.

But I think your problem is with the variable setting:

> But when i say in my controller:
>
> $this->script = "event.js";
>
> then it doesn't work.

This should be $this->view->script = "event.js";

Regards


--
My place to share my ideas:
http://vladev.blogspot.com

没有评论: