Hi,

I have a form ('Gallery') that embeds a related form using mergeRelation.

[code]
class GalleryForm extends BaseGalleryForm
{
    public function configure() {
        $this->mergeRelation("Image");
    }
}
[/code]

Now leaving the generator.yml in admin with its defaults and just changing template to 'admin15', the embedded forms appear and everything works fine. The problem is when I want to customise that generator.yml.

I need to know how to include the embedded form in a customised generator.yml. At the moment I have changed the 'form' part of the yml to :

[code]
      form:
        display:
          "Detail":         [name]
[/code]

Obviously this is only now showing the Gallery name input. What would I add to show the embedded form? I've tried '"Images": [Image]', but it says there is no 'Image' widget.

Any ideas?

Adam

--
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 [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-users?hl=en

Reply via email to