setTemplate('webshopapps_wsalogger/view.phtml'); $this->setNotificationId($this->getRequest()->getParam('notification_id', false)); } public function getMessageData() { if( $this->getNotificationId()) { return Mage::getModel('wsalogger/log') ->load($this->getNotificationId()); } else { throw new Exception("No Notification Id given"); } } public function getBackUrl() { return Mage::helper('adminhtml')->getUrl('*/adminhtml_log'); } }