That one seams more "light" as it wouldn't require any rendering of the
view. Or am I incorrect? Should I set the contenttype as well? /Peter


On Sun, 2007-11-25 at 23:28 +0100, Stephane wrote:
> 
> class AjaxController extends Zend_Controller_Action
> {
> 
>    function updateorderAction()
>    {
>       ....
> 
> Zend_Controller_Front::getInstance()->setParam('noViewRenderer',true);
>       $this->getResponse()->setBody(json_encode($this->result));
>    }

Reply via email to