On Feb 2, 8:37 pm, Kris Wallsmith <kris.wallsm...@symfony-project.com>
wrote:
> Hi Michael,
>
> I believe the ->updateObject() method is called on embedded forms. You  
> might also use a validator or post validator to handle this logic.
>
> --

But, howto handle M-M (admin generated) relationship saving without
call the doSave() on embedded forms ? This is a big issue, without a
solution.

See here:
http://groups.google.com/group/symfony-devs/browse_thread/thread/d4f5679d35ebfb41?hl=en
http://trac.symfony-project.org/ticket/5445
http://trac.symfony-project.org/ticket/4850

Using the updateObject() it's impossible save correctly the
relationship because the main embedded form it's not save at this
stage, so we don't have the ids of we need.

Yes we can save nested forms automatically with admin generator, but
we can't save linked M-M relationship, without patching the core.

Someone have a solution for this ?

Thank you very much :)
Paolo


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