Ok, but I have now an another error...
In my controller : if ($form->isValid()) { $em->persist($breveRequest); $em->flush(); } => error "Class Application\xxx\BreveRequest is not a valid entity or mapped super class." In my case, perhaps I need to map the form with the Breve Entity file instead the BreveRequest file ? -- Christophe Beyer cbe...@cap-tic.fr Le 9 févr. 2011 à 10:16, Bernhard Schussek a écrit : > Hi Christophe, > > In your configure() method, add the call > > $this->setDataClass('Name\Space\BreveRequest'); > > The namespace needs to be corrected, of course. > > Bernhard > -- > Software Architect & Engineer > Blog: http://webmozarts.com > Twitter: http://twitter.com/webmozart > > -- > 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 -- 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