[symfony-users] symfony2 beta4 Split 1 relation in 3 collections in a form?

2011-06-14 Thread ibrows_symfony
My model looks like this: Order --1m-- Address --1---m-- AddressType Actually there are 3 different AddressType. I would like to split the collection of Address in these 3 types in my form. Actually, I tried it with this code: $builder-add('send_addresses', 'collection', array(

[symfony-users] Aw: [SF2] form and OneToMany relationship

2011-06-15 Thread ibrows_symfony
I think, I had a similar problem. Try this in the Profile constructor: public function __construct() { $this-profileAddress = new \Doctrine\Common\Collections\ArrayCollection(); } -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Aw: [symfony2] datetime widget single_text format

2011-06-16 Thread ibrows_symfony
Hm, the format value is only available for the date widget. So this can not be used either. -- 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

[symfony-users] Re: datetime widget single_text format

2011-06-17 Thread ibrows_symfony
Thank you for your answer. I updated today to Beta5 and now it works without changing anything. Andreas -- 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] Re: symfony2 beta4 Split 1 relation in 3 collections in a form?

2011-06-20 Thread ibrows_symfony
I found out, how I can save the addresses. But I can't get back my saved addresses in the form. Any Idea? -- 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