My question basically is that I have lot of routes set up for开发者_Go百科 CRUD operations. So inside the controller there are different action for Insert, Update, Delete and Select. For the Insert, Update and Delete I would like to use the same view script. Is that possible?
You simply set the view script name using the ViewRenderer
action helper. For example
$this->_helper->viewRenderer('action');
Edit: If the view script is part of a different controller, see ZEND, rendering different view with data
精彩评论