public function decoratorsaveAction() { $this->view->listUrl = $this->view->url(array('action' => 'edit')); $service = new EngineBlock_Service_GroupProviderDecorator(); $groupProviderDecorator = $service->save($this->_getAllParams(), true); if (empty($groupProviderDecorator->errors)) { $this->_redirect($this->view->url(array('action' => 'edit', 'group_provider_id' => $this->_getParam('group_provider_id')))); } else { $this->view->groupProviderDecorator = $groupProviderDecorator; $this->render('decoratoredit'); } }