Hi all;
I have a clasic model users & company table :
users:
  id: ~
  name: varchar(40)
company:
  id: ~
  users_id: fk
  title: varchar(40)

My probleme is whene i embed the company form in the user form like
this :
public function configure()
{
      $this->embedForm('company', new CompanyForm($this->getObject()-
>getCompany()));
}

The form is embedde but all field rendrer with company[%s] format not
with users[company][%s]

And whene i trying to change the name format with the correct format
the embeddeform is not binded

How can i resolve this

Best regard Ahmed
--~--~---------~--~----~------------~-------~--~----~
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