UPDATE: I've found that the problem seems to be because I have mbedded
the form in the configure method. So it seems that contact_details_id
is getting overwritten after the configure call.

If I embed it after the form is created  in the action then it works
fine.:
    $this->form = new MscdbStorytellerForm($this->MscdbStoryteller);
    $contact = $this->MscdbStoryteller->getMscdbContactDetails();

    $contactForm = new MscdbContactDetailsForm($contact);
    $this->form->embedForm('contact_details_id',$contactForm);



This seems a bit messy but is it unavoidable that I have to call
something to embed the form after I instantiate it?

Cheers,

Paul

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

Reply via email to