Thank you thank you. That was exactly what I was looking for.

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Adriano Varoli Piazza
Sent: Wednesday, December 24, 2008 8:05 AM
To: CakePHP
Subject: Re: Saving Multiple Models in one save


On 24 dic, 10:32, Steven Wright <[email protected]> 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-1-work
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to