[symfony-users] Re: Doctrine inheritance and i18n forms
Hi, Same version here, sf1.4 and doctrine 1.2. I've got the same result as you. The base class inheritance schema is correct. The problems appears if you add the I18n behavior to you schema. Read the ticket I wrote to fully understand the problem, I'v joined an example schema.yml. For the record, I've written a complete howto related to the subject we're talking about. I'me posting a link, as I think one might find it interesting. http://www.miximum.fr/tutos/449-optional-translation-form-for-i18n-objects-with-symfony-and-doctrine Regards. Thibault. On Jan 29, 11:40 am, Stéphane wrote: > Hi, > > I'm using sf1.4, doctrine1.2. > I have a class and an extending class. > > Got generated doctrine models and forms, and the extending class's form is > inheriting from its super class' form. > > vsPage inherits vsBasicpage and I get this in the base form class of the > vsPage : > "abstract class BasevsPageForm extends vsBasicpageForm" > > Is this what you want ? > > What is your sf version ? > > Cheers, > > Before Printing, Think about Your Environmental Responsibility! > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > On Fri, Jan 29, 2010 at 11:34 AM, Thibault Jouannic wrote: > > > Created the ticket. You can see it here : > > >http://trac.symfony-project.org/ticket/8199 > > > Regards. > > > -- > > You received this message because you are subscribed to the Google Groups > > "symfony users" group. > > To post to this group, send email to symfony-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
Re: [symfony-users] Re: Doctrine inheritance and i18n forms
Hi, I'm using sf1.4, doctrine1.2. I have a class and an extending class. Got generated doctrine models and forms, and the extending class's form is inheriting from its super class' form. vsPage inherits vsBasicpage and I get this in the base form class of the vsPage : "abstract class BasevsPageForm extends vsBasicpageForm" Is this what you want ? What is your sf version ? Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Jan 29, 2010 at 11:34 AM, Thibault Jouannic wrote: > Created the ticket. You can see it here : > > http://trac.symfony-project.org/ticket/8199 > > Regards. > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: Doctrine inheritance and i18n forms
Created the ticket. You can see it here : http://trac.symfony-project.org/ticket/8199 Regards. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: Doctrine inheritance and i18n forms
I have the same question myself. On 27 Ιαν, 17:43, Thibault Jouannic wrote: > So, an idea anyone ? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: Doctrine inheritance and i18n forms
So, an idea anyone ? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.