public function preDispatch()
 {
     if (!isset($this->_model) && !isset($this->_tableName) && !isset($this->_modelName)) {
         $this->setModel(Kwc_Abstract::createChildModel($this->_getParam('class')));
     }
     parent::preDispatch();
 }
 public function preDispatch()
 {
     $this->_filters = array('text' => true, 'type' => array('type' => 'ComboBox', 'data' => array(array('X', 'X'), array('Y', 'Y'), array('Z', 'Z'))));
     $this->_model = new Kwf_Model_FnF();
     $this->_model->setData(array(array('id' => 1, 'value' => 'Herbert', 'value2' => 'Lorenz', 'testtime' => '2008-12-03', 'type' => 'X'), array('id' => 2, 'value' => 'Kurt', 'value2' => 'Herbert', 'testtime' => '2008-12-06', 'type' => 'X'), array('id' => 3, 'value' => 'Klaus', 'value2' => 'Kurt', 'testtime' => '2008-12-09', 'type' => 'Y'), array('id' => 4, 'value' => 'Rainer', 'value2' => 'Klaus', 'testtime' => '2008-12-12', 'type' => 'Y'), array('id' => 5, 'value' => 'Franz', 'value2' => 'Rainer', 'testtime' => '2008-12-10', 'type' => 'Z'), array('id' => 6, 'value' => 'Niko', 'value2' => 'Franz', 'testtime' => '2008-12-15', 'type' => 'Z'), array('id' => 7, 'value' => 'Lorenz', 'value2' => 'Niko', 'testtime' => '2008-12-18', 'type' => 'Z')));
     $this->_model->setColumns(array('id', 'value', 'value2', 'testtime', 'type'));
     parent::preDispatch();
 }
 public function preDispatch()
 {
     $this->_modelName = Kwc_Abstract::getSetting($this->_getParam('class'), 'downloadsModel');
     parent::preDispatch();
 }
 public function preDispatch()
 {
     parent::preDispatch();
     $this->_getModel()->setComponentId($this->_getCategoryDirectory()->dbId);
 }
 public function preDispatch()
 {
     parent::preDispatch();
     $this->setModel(Kwc_Abstract::createChildModel($this->_getParam('class')));
 }
 public function preDispatch()
 {
     $this->_model = Kwf_Registry::get('userModel')->getEditModel();
     $this->_editDialog['controllerUrl'] = $this->getRequest()->getBaseUrl() . $this->_editDialog['controllerUrl'];
     parent::preDispatch();
 }
 public function preDispatch()
 {
     $this->_editDialog = array('type' => 'Kwc.Mail.PreviewWindow', 'controllerUrl' => Kwc_Admin::getInstance($this->_getParam('class'))->getControllerUrl('Preview'), 'baseParams' => array('componentId' => $this->_getParam('componentId')), 'width' => 700, 'height' => 400);
     parent::preDispatch();
 }