function init()
 {
     parent::setFormView('../categories/categoriesForm');
     parent::setSuccessRedirect(array('controller' => 'categories', 'action' => 'index'));
     parent::setCancelRedirect(array('controller' => 'categories', 'action' => 'index'));
 }
 function init()
 {
     parent::setFormView('../products/productsForm');
     parent::setSuccessRedirect(array('controller' => 'products', 'action' => 'index'));
     parent::setCancelRedirect(array('controller' => 'products', 'action' => 'index'));
 }