public function configure()
 {
     unset($this['is_closed']);
     $this->setWidget("examination_repproved_id", new sfWidgetFormInputHidden());
     $examination_repproved = $this->getObject()->getExaminationRepproved();
     if ($this->getObject()->isNew()) {
         $criteria = CareerSubjectPeer::retrieveForExaminationRepprovedCriteria($examination_repproved);
         $this->getWidget('career_subject_id')->setOption('criteria', $criteria);
         $this->getValidator('career_subject_id')->setOption('criteria', $criteria);
         $this->getWidget('career_subject_id')->setLabel('Subject');
     } else {
         //Si es en edicion solo muestro la info, no se puede modificar la materia.
         unset($this['career_subject_id']);
         $this->setWidget('career_subject_wrapper', new mtWidgetFormWrapper(array('content' => $this->getObject()->getCareerSubject())));
         $this->setValidator('career_subject_wrapper', new sfValidatorPass());
         $this->getWidgetSchema()->moveField('career_subject_wrapper', 'before', 'examination_repproved_subject_teacher_list');
         $this->getWidget('career_subject_wrapper')->setLabel('Subject');
     }
     $this->getWidget("examination_repproved_subject_teacher_list")->setOption("multiple", true);
     $this->getWidget("examination_repproved_subject_teacher_list")->setOption("peer_method", 'doSelectActive');
     $this->getWidget("examination_repproved_subject_teacher_list")->setOption("renderer_class", "csWidgetFormSelectDoubleList");
 }