Hey there,

funny someone is asking that today when I'm close to finishing my 
implementation.

Hang on, I'll have something (maybe even plugin-like) by tomorrow. If you want 
to get started quickly, here's the blog post where I'm basing my work on (yes, 
works in sf1.4):

        
http://prendreuncafe.com/blog/post/2009/11/29/Embedding-Relations-in-Forms-with-Symfony-1.3-and-Doctrine

But this was too hard-coded for me so I made it more generic so it works with 
multiple embedded relations and is more configurable.


Cheers, Daniel

On 09.02.2010, at 19:52, axel at wrote:

> Hello list,
> 
> are there any examples, docs for mergeForm, embeddForm, embedRelation
> and symfony 1.4?
> 
> I try to embedd an 1:1 related object into a form using mergeForm. The
> attributes of the merged form are displayed correctly but save doesn't
> work.
> 
> "Unknown record property / related component x on y" (x is an
> attribute of the embedded object and y is the "base" object that
> embedds the form.
> 
> I found
> http://www.blogs.uni-osnabrueck.de/rotapken/2009/03/13/symfony-merge-embedded-form/
> what seems to solve my problem but it doesn't work with symfony 1.4.
> 
> thx axel
> 
> -- 
> 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.
> 

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