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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en