2009年4月22日星期三

Re: [fw-mvc] Re: Re[fw-mvc] nder a view of another module

Hi

Have you tried this?
$this->_helper->viewRenderer->renderBySpec('foo', array('module' =>
$module, 'controller' => $controller));

Thanks

2009/4/22 Matthias W. <Matthias.Wangler@e-projecta.com>:
>
> OK,
> but there I have to define the path by an included path, so I sould define
> this path like this:
> $path = '../../module/views/scripts/controller/action';
> (Path starting in controller path)
>
> Is there no functionality from ZF to do this like:
> $this->renderScript(array($module, $controller, $view));
>
> Remy Damour-2 wrote:
>>
>> $this->renderScript('<path-to-your-other-module-view-script>');
>> Just my 2 cents
>> Remy
>>
>
> --
> View this message in context: http://www.nabble.com/Render-a-view-of-another-module-tp23171489p23171831.html
> Sent from the Zend MVC mailing list archive at Nabble.com.
>
>

没有评论: