Hi, it's me again =) I want to do something simple but I found 2 approaches I don't like.
I call an action via ajax using sortable from scriptaculous and I receve in response an html code. First approach was to call inside the action: $this->_helper->viewRenderer->setNoRender(); But it's not good because it prints the entire layout without the action partial. Second approach: Call exit; in the end of the action method. This really prints nothing as I like, but it's not a good practice and could corrupt the MVC arquiteture. I searched this issue too a lot before open this post. (google: zend framework render nothing) In Ruby on rails I use this method: render :nothing => true; I'd like the same behavior with ZF. Thanks for your time and attention! -- View this message in context: http://www.nabble.com/How-to-render-nothing-%28ajax-issue%29-tp21391128p21391128.html Sent from the Zend Framework mailing list archive at Nabble.com.
