protected function setupInheritance()
 {
     parent::setupInheritance();
     $this->widgetSchema['productos_id'] = new sfWidgetFormInputText();
     $this->validatorSchema['productos_id'] = new sfValidatorInteger();
     $this->widgetSchema['producto_id'] = new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('Producto'), 'add_empty' => true));
     $this->validatorSchema['producto_id'] = new sfValidatorDoctrineChoice(array('model' => $this->getRelatedModelName('Producto'), 'required' => false));
     $this->widgetSchema->setNameFormat('producto_temporal[%s]');
 }
 protected function setupInheritance()
 {
     parent::setupInheritance();
     $this->widgetSchema->setNameFormat('producto_espejo[%s]');
 }