Hello,
I had to customize doSave() method in my form for saving an embed form.
And I had to override the doSave() method for this.
Don't forget the instruction 'parent::doSave();' before you custom code.
But I use the form with the admin-generator.
I did like this:
> protected function doSave($con = null)
>
{
>
parent::doSave($con);
>
>
// custom code there
>
}
>
Bye
NairuS
2009/9/5 Eno <[email protected]>
>
> On Sat, 5 Sep 2009, stefan wrote:
>
> > I tried some code (even the die() statement) in the save() or
>
> > doSave() for the BillingForm, but it seems the execution doesn't go
> > there.
>
>
> I think you should call your save() method from the action when processing
> the form.
> --
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---