Le 11/03/2011 00:59, Benjamin Eberlei a écrit :
That way you could have a "DefaultFormFactory" that can be used outside the Framework with all the default configs hardcoded in them, and a DoctrineFormFactory that extends it and contains the EntityManager reference.

One poitn I just saw reading that is the issue when using multiple entity managers (or document managers assuming we add a Document* implementation the same way). You need to use the good entity manager in the form according to the entity used. this means being able to access all the entity managers here. Btw, is there a way to retrieve the entity manager handling a given entity ? this will also be needed for a UniqueValidator implementation which is not done yet for the ORM (and not sure if the ODM one handles this issue).

--
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 developers" 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-devs?hl=en

Reply via email to