logo       

[symfony-users] Help For Nested Form: msg#00823

symfony-users

Subject: [symfony-users] Help For Nested Form

Hi All.
It's my project plan.
I have  league  table.
Each league  table has many Week and also has many Team .
Week has many Game , And each Game has two Team .
In Game table i set two foreign key to Team table,But In my Game form It doesn't show two Combo box for my two foreign keys!!

I Have another problem.
I wanna to show all child in each parent form,User can edit and new child to this parent.And when inserting new child automatically add current parent to this child(don't show all parent).
This scenario are necessary for nested model.
Another problem is :When I want to add a Game  I need to show all Team that not assigned for current Week and belong to the league  of the current Week .
Where I should define to fetch these Team ?


--~--~---------~--~----~------------~-------~--~----~
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to symfony-users+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise