public function bind(array $taintedValues = null, array $taintedFiles = null)
 {
     //		print_r( $this->getLanguages()  );
     //		exit;
     foreach ($this->getLanguages() as $lang) {
         $obj = $this->getObject();
         if (isset($taintedValues[$lang]) && !$taintedValues[$lang]['value']) {
             if (!$obj->Translation[$lang]->value) {
                 try {
                     $obj->Translation[$lang]->refresh();
                 } catch (Doctrine_Record_Exception $ex) {
                     $obj->Translation[$lang]->value = '';
                 }
             }
             if ($taintedValues[$lang]['value_delete']) {
                 $obj->Translation[$lang]->value = '';
             }
             unset($this->embeddedForms[$lang], $taintedValues[$lang], $this[$lang]);
         } else {
             if (!isset($taintedValues[$lang])) {
                 unset($this->embeddedForms[$lang], $taintedValues[$lang], $this[$lang]);
                 $obj->Translation[$lang]->value = '';
             }
         }
     }
     parent::bind($taintedValues, $taintedFiles);
 }
 public function configure()
 {
     $this->widgetSchema['common_value'] = new sfWidgetFormInputTextCustom(array(), array('class' => 'formInput'));
     parent::configure();
 }
 public function configure()
 {
     parent::configure();
 }