Finally, I found this βsolutionβ, this is not what I want to do, but it works, if someone found a real solution, answer here.
public function xAction(){ $data = $this->_prepareData(); $view = new Zend_View(); $view->somedata = $data; $view->setScriptPath($this->view->getScriptPaths()); $html = $view->render('controller/y.phtml'); }
source share