function handle_submitForm_technology_load($formData = array(), $element = '')
 {
     $technology = new CWorkPlanContentSectionLoadTechnology();
     $technology->setAttributes($formData);
     if ($technology->validate()) {
         $technology->save();
         self::getStatefullFormBean()->getElement($element)->setShow(false);
     } else {
         self::getStatefullFormBean()->getElement($element)->setValidationErrors($technology->getValidationErrors());
     }
 }
 public function actionSave()
 {
     $object = new CWorkPlanContentSectionLoadTechnology();
     $object->setAttributes(CRequest::getArray($object::getClassName()));
     if ($object->validate()) {
         $object->save();
         if ($this->continueEdit()) {
             $this->redirect("workplancontenttechnologies.php?action=edit&id=" . $object->getId());
         } else {
             $this->redirect("workplancontentloads.php?action=edit&id=" . $object->load_id);
         }
         return true;
     }
     $this->setData("object", $object);
     $this->renderView("_corriculum/_workplan/contentTechnology/edit.tpl");
 }