Hi ,

How can I configure a form to handle the creation of a company and the
first of its contacts (the relation is a 1..n )

I did the following, but the contact's company_id is NULL after a
save. The contact form has no special configuration (except unsetting
created_at and updated_at)

  public function configure()
  {
    $form_contact = new CompanyContactFormRegistration($this->getObject
()->Contacts[0]);

    $this->embedForm('contact', $form_contact);
  }

thanks!
Julien
--~--~---------~--~----~------------~-------~--~----~
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