[symfony-users] embedded forms, collection

2011-05-27 Thread Michael Holm
Hi, I have a problem with embedded forms.. i get a notice: undefined index profile_id.. I have a user form with embed a one-to-one relationship with a profile, which embed a one-to-many relationship to profile_address.. If i just have the user relationship embedded with the profile, everything

[symfony-users] Embedded forms with file upload problem

2010-09-16 Thread Anton74
I'm struggling with the following problem: I'm using symfony 1.4.6 and have followed the The more with symfony book, chapter Advanced forms by Ryan Weaver, Fabien Potencier. [url]http://www.symfony-project.org/more-with-symfony/1_4/en/06- Advanced-Forms[/url] Everything works fine and the photos

[symfony-users] embedded forms ans sfValidatorSchemaCompare

2010-06-01 Thread Alain Baudry
Hi everybody, I am facing a problem for wich I don't manage to find an answer. There is the situation: I have events and in each event I can have meetings. I have created a form wich allow my users to modify an events and its meetings all in once. My problem is: I want to control that the date

[symfony-users] Embedded forms

2010-03-11 Thread Lea Haensenberger
Hi all, I have a form with an embedded form and I'd like to reorder the fields in the form and optionally mix fields from the main form and the embedded form. I found this blog post http://www.blogs.uni-osnabrueck.de/rotapken/2009/03/13/symfony-merge-embedded-form/ and I think the approach is not

[symfony-users] Embedded forms and embedde relations problem

2010-02-05 Thread NOOVEO - Christophe Brun
I'm trying to use embedded forms on such a schema as : News: actAs: { Timestampable: ~ } columns: titre: { type: string(125), notnull: true } texte: { type: string() } date_News: { type: date(25), notnull: true } actif: { type: boolean, notnull: true, default: true } Book:

[symfony-users] [Embedded forms ] Do not create object if not needed

2009-12-11 Thread Tarjei
Hi, I'm trying to do something that is close to what is described in http://www.symfony-project.org/advent_calendar/9/en. To start with, I'm using sfDoctrineGuard and I want to be able to define user accounts connected to either Persons or Firms.Person and Firm are two entities that both inherit

[symfony-users] Embedded forms problem since Symfony 1.2.8

2009-11-01 Thread Guu_sama
Hi, I use many embedded Doctrine forms in my project. Everything goes fine until I upgrade my symfony version from 1.2.7 to 1.2.8. Now, everytime I save a form with an embedded one, I've got that fatal error : Fatal error: Call to a member function getTable() on a non-object in /

[symfony-users] Embedded forms. Again...

2008-12-08 Thread [EMAIL PROTECTED]
Hi guys, I'm using symfony 1.2 and Propel, and I have the problem with autopopulation of embedded forms. They are saved correctly, but when displayed they are empty. Here is the code: //schema.yml propel: # it is resume of emploee seeker_resume: _attributes: { idMethod: native } id: