[symfony-users] Re: About embed forms

2009-10-09 Thread elkrema
UserForm($user); $profileForm = new ProfileForm($profile); $userForm-embedForm('Profile', $profileForm); On Oct 5, 2:13 am, elkrema elfra...@gmail.com wrote: Hi Dennis, there is my schema: Feature:   tableName: feature   columns:     id:       type: integer(8

[symfony-users] Re: About embed forms

2009-10-05 Thread elkrema
is right... no? Thank you very much. 2009/10/1 Abraham Montilla amontil...@gmail.com elkrema, if you have I have an Opinion with many Features then the right schema is Feature is: id, opinion_id, desc OpinionFeature is: opinion_id, score that's why you have an integrity constraint

[symfony-users] Re: About embed forms

2009-09-30 Thread elkrema
if is the good way.. Otherwise i have a new problem.. when i'm editing an opinion the value of the last feature is not showed.. ¿? Thank you! On 30 sep, 07:21, Abraham Montilla amontil...@gmail.com wrote: try just unsetting opinion_id, tell me if works 2009/9/29 elkrema elfra...@gmail.com

[symfony-users] Re: About embed forms

2009-09-29 Thread elkrema
= new OpinionFeatureForm($opfeat); $this-embedForm('Feature_'.$i, $OFform); } 2009/9/28 elkrema elfra...@gmail.com Hello i have some problems with my embed forms and i can't find a solution... I have an Opinion with many Features.. Feature is: id, desc OpinionFeature

[symfony-users] About embed forms

2009-09-28 Thread elkrema
Hello i have some problems with my embed forms and i can't find a solution... I have an Opinion with many Features.. Feature is: id, desc OpinionFeature is: opinion_id, feature_id,score In OpinionForm i'm inserting with [for each] all the features, but when im creating a new opinion i always