Hey Tobias!

Is on the SVN or something ? I can't find it on the API doc, there's some doc 
that you can show me or give me the link ?

Thx.

----- Mensaje original -----
De: "Tobias Gies" <[EMAIL PROTECTED]>
Para: "Zend Framework General" <[email protected]>
Enviados: viernes 22 de febrero de 2008 04:59:32 PM (GMT-0500) America/Bogota
Asunto: Re: [fw-general] How to render multiple action views ?


Hey Juan, 

If you use the 1.5 Version, you can try the ActionStack-Helper. 

Regards 
Tobias 


On Fri, Feb 22, 2008 at 10:08 PM, Juan Felipe Alavarez Saldarriaga < [EMAIL 
PROTECTED] > wrote: 


hey! :) 

Question, I'm trying to do this, I'm on a controller action and inside this 
action I want to execute another one and then get the rendered html, is that 
possible ? I'm doing something like: 

public function myAction() 
{ 
// Execute another action using _forward method. 
$this->_forward( "anotherMy", "anotherController", "anotherModule", array( "id" 
=> $this->getRequest()->getParam( "id" ) ) ); 

// Get the current response. 
$this->view->strAnotherMyBody = $this->getResponse()->getBody(); 

// Render current view, my/my.phtml 
$this->render(); 
} 

What's the best practice ? 

Thx for any help. 

Reply via email to