Dah!!!

Thanks!!  ---> i was guessing something like that :/


2010/2/10 Stefan Paschke <symfony.pasc...@gmail.com>

> Hi Germana
>
> both your keys ('true', 'false') are strings. My guess is that your field
> type is boolean, so any string will test true. In order to get boolean
> values, you'd need to write true and false, without quotes.
>
>    $this->widgetSchema['status'] = new sfWidgetFormChoice(array(
>            'choices' => array(
>                            '' => '-Seleccione-',
>                             true    => 'Resuelto',
>                             false   => 'No Resuelto'
>                          )
>    ));
>
> regards
>
> Stefan
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>


-- 
Germana Oliveira

germanaoliveirab arroba gmail punto com
http://626f67.wordpress.com
http://slcarabobo.wordpress.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-us...@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.

Reply via email to