/** * {@inheritDoc} * * <p>Adds special handling to <code>'catalog-redirect' == $id</code> to allow proper redirects after POST handling without * the subclass having to worry about details.<br> * All other parameters will be handled as always.</p> */ public function findView($id = null, $data = array(), $parameter = null) { if ('catalog-redirect' == $id) { // the property catalogRedirect tags the view as special redirect view... return Beans::getBean('redirect#requestId=catalog&catalogRedirect=true¶meter=' . urlencode($parameter) . '&catalogRequestId=' . $this->getCalogRequestId()); } return parent::findView($id, $data, $parameter); }