R! wrote:
> 
> The html code i'm rendering from view script.
> here is my code.
> 

I do this in the controller:

//
// turn off the view helpers
//
$this->_helper->layout->disableLayout();
$this->_helper->viewRenderer->setNoRender();
echo $json;

I don't bother with the view.

monk.e.boy
-- 
View this message in context: 
http://www.nabble.com/Sending-JSON-the-best-practice--tp19157013p19157707.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to