Le 28/02/2011 22:16, oscar balladares a écrit :
Hi everybody.
I realize that in PR6 there is no Symfony\Bundle\DoctrineBundle\Form\ package-namespace So it is impossible to me to bind Forms to Entities and flush them into the database.

According to Docs, you should use EntityToIDTransformer, CollectionToChoiceTransformer, or so, to be able to bind Objects to Fields
and viceversa.

This was the PR5 implementation. You should now use the EntityChoiceField (available in the Form component as the other fields) to choose an entity in a list.

--
Christophe | Stof

--
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

Reply via email to