function handle_submitForm_education_load($formData = array(), $element = '')
 {
     $education = new CWorkPlanSelfEducationBlock();
     $education->setAttributes($formData);
     if ($education->validate()) {
         $education->save();
         self::getStatefullFormBean()->getElement($element)->setShow(false);
     } else {
         self::getStatefullFormBean()->getElement($element)->setValidationErrors($education->getValidationErrors());
     }
 }
 public function actionSave()
 {
     $object = new CWorkPlanSelfEducationBlock();
     $object->setAttributes(CRequest::getArray($object::getClassName()));
     if ($object->validate()) {
         $object->save();
         if ($this->continueEdit()) {
             $this->redirect("workplanselfeducationblocks.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/selfEducationBlocks/edit.tpl");
 }