What means doesn't work? How it looks before ... show BaseFormFilter class, or the schema of the object at least. Which version of Symfony?
On 3 srp, 11:01, florian périn <poulet.va...@gmail.com> wrote: > Hello, > > I wanted to change the type of my filters auto-generate with admin- > generator, but when I did it, the filters didn't work anymore. > > For exemple, I change : > > //lib/filter/doctrine/BackendGammeFormFilter.class.php > [...] > 'nom' => new sfWidgetFormDoctrineChoice(array( > 'model' => 'Gamme', > 'add_empty' => true, > 'order_by' => array('nom', 'asc'), > )), > 'enligne' => new sfWidgetFormChoice(array( 'choices => array( ' ' => > 'oui ou non', 0 => 'non', 1 => 'oui') ) ), > [...] > > 'nom' => new sfValidatorChoice( array( 'choices' => > array($this->getObject()->get('idgamme')), 'required' => false)), > > 'enligne' => new sfValidatorChoice( array('required' => false, > 'choices' => array( 0, 1) ) ), > [...] > > If you have any clue why it doesn't work... > > Thanks, -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en