2009年4月21日星期二

Re: [fw-mvc] Problems with dojo in partials

My structure is almost the same as in the quick start guide.

I played a bit with my application and the results were as I expected...


I found two solutions for my problem:

1. remove the content of the body-Tags from the layout and paste it into the
view. The disadvantage is that I have to paste it in every view or I have to
make a global view to use in each action (
$this->_helper->viewRenderer('viewToUse'); ).

2. In the layout I have to declare the partials before echoing
$this->dojo(); -> I have to separate the declaration of the partials
from the output.


I don't think there's another way to solve this!??


vince. wrote:
>
> Hey,
>
> That's because your doing this all wrong. Please refer to the quick start
> guide in the zend framework manual on understanding how to create the
> application structure.
>
> Vince.
>

--
View this message in context: http://www.nabble.com/Problems-with-dojo-in-partials-tp23150088p23150486.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: