Ok great (or not :)), thanks for your feedback Cedric, I'd like to create a
ticket, but has anyone any idea of where to create it ? (doctrine's trac or
symfony's one ?)
Nico
2008/7/22 Cédric Sadai <[EMAIL PROTECTED]>:
>
> +1
> doesn't work for me either
>
> cedric
>
> On Jul 21, 11:40 pm, "Nicolas Garnault" <[EMAIL PROTECTED]>
> wrote:
> > Hello everybody,
> >
> > I was about to create a new ticket for this, but as I may be wrong with
> the
> > way I try to do my thing, I prefer asking here to know if someone has
> > already encoutered this.
> >
> > Well so, I use Doctrine with sf1.1 , and I'm when I'm trying to use
> > doctrine-generated forms with i18n, everything works fine until I try to
> > save the data commited via the form. When I do so, the main data (i.e.
> the
> > stuff associated with the model in relation with the "main" doctrine
> form)
> > is commited, but not the associated i18n data.
> >
> > Here is the code :
> >
> > public function executeCreate($request)
> > {
> > $this->form = new RuleForm();
> > $this->form->embedI18n(array($this->default_language));
> >
> > if($request->isMethod('POST'))
> > {
> > $this->form->bind($request->getParameter('rule'));
> >
> > if($this->form->isValid())
> > {
> > $this->form->save();
> > }
> > }
> > }
> >
> > Well, if someone has experienced such a thing (encountered such a bug?),
> > please tell me.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---