Hi!

Thanks for your feedback.

As you said the problem was with edit vs. new object creation, where
with edit the value was taken from the object itself.

Best regards,

   gabriel

On Dec 2, 1:23 am, Alexandre Salomé <[email protected]>
wrote:
> Hello,
>
>   Your default value is "English", so the widget #2 is OK
>
>   the first one must inherits from your object value.
>
>   Does your object method "getLanguage" returns "Romanian" by default ?
>
> Try debugging :
>
> $myObject = new Product();
> echo $myObject->getLanguage();
>
> Do you bind values to form ? Are you using admin generator ?
> --
> Alexandre Salomé -- [email protected]

--

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.


Reply via email to