[symfony-users] Re: Embed optional form

2010-01-21 Thread Paul Lanzerstorfer
Hi! I have/had the same problem here and spent the last hours on this (i would say simple) problem :). Anyway overwriting the save method in the model doesn't work, I get a SQLSTATE[23000]: Integrity constraint violation. So I was thinking of overwriting the saveEmbeddedForms function in the "pa

[symfony-users] Re: Embed optional form

2010-01-19 Thread Tom Ptacnik
I would overide a save() method of a Proposal object and do a parent::save($conn) it only if it's not empty.. On 15 led, 16:44, Palleas wrote: > Hi there ! > > I'm working on a simple Quiz plugin for my Symfony project, so I'm > heavily using the Symfony embedding form system to have one big for