[symfony-users] [Symfony2] - One to Many associations in forms

2010-12-26 Thread Leevi Graham
Hey guys, I've got a basic skeleton for my SCRUM app that I'm building to wrap my head around Symfony2. At the moment I'm working on the most basic one to may relationship which can be described as "a story has many tasks". I've written a very simple Task and Story entity which just has name and

[symfony-users] Re: PR4 - Form validaton

2010-12-04 Thread Leevi Graham
sion that I'm binding the wrong data which is causing: This field group should not contain extra fields Any insight would be appreciated. On Dec 4, 9:59 am, Leevi Graham wrote: > I've followed the examples in the docs and can't for the life of me > figure out why my simpl

[symfony-users] [Symfony2] PR4 - Form validaton

2010-12-03 Thread Leevi Graham
I've followed the examples in the docs and can't for the life of me figure out why my simple form is not validating. I'm trying to create and persist a Tracker(); Any help would be appreciated. I'm setting up the form with: // `new_trackers` [GET] /trackers/new public function newTrack

[symfony-users] [Symfony2] [Doctrine] - Bi-Directional ManyToOne

2010-11-27 Thread Leevi Graham
Not sure if I should have posted this in the Doctrine group but it does relate to Symfony2 code. I'm trying to create a bi-directional ManyToOne and OneToMany relationship between Trackers and Tickets. * A Ticket belongs to a Tracker * A Tracker can have many Tickets Should be pretty straight fo

[symfony-users] Symfony ORM - Bi-Directional ManyToOne

2010-11-27 Thread Leevi Graham
Not sure if I should have posted this in the Doctrine group but it does relate to Symfony2 code. I'm trying to create a bi-directional ManyToOne and OneToMany relationship between Trackers and Tickets. * A Ticket belongs to a Tracker * A Tracker can have many Tickets Should be pretty straight fo