Hi since the saveAll method of cake only support upto one level, how
can we save the data from one form into 4 models??
thanks.

On Dec 25 2008, 5:22 am, Steven Wright <rhythmicde...@gmail.com>
wrote:
> Thank you thank you. That was exactly what I was looking for.
>
> -----Original Message-----
> From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
>
> Of Adriano Varoli Piazza
> Sent: Wednesday, December 24, 2008 8:05 AM
> To: CakePHP
> Subject: Re: Saving Multiple Models in onesave
>
> On 24 dic, 10:32, Steven Wright <rhythmicde...@gmail.com> wrote:
> > What does the 0 do?
>
> Make it work :)
> Seriously, you can add multiple items in this fashion, such as
> Patrimonio.1.tipo, Patrimonio.2.tipo, etc., and they'll be saved in sequence
> from a single form.
>
> However, I doubt that this is the problem, I suspect more of an error in the
> definition of relationships between the models involved.
>
> For more meat, try 
> this:http://teknoid.wordpress.com/2008/08/01/practical-use-of-saveall-part...
> ing-with-multiple-models/
> --
> Saludos,
> Adriano

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to