Hello Martin, no, it does not seem to work for deeper levels.
I hacked the saveAll() method in the main model, maybe it helps you: http://bin.cakephp.org/view/1083645660 Location hasOne Address Location hasOne Contact (contact person) Contact hasOne Address (alias: CAddress) Regards, Christoph On 1 Sep., 15:22, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi guys, > I was going to rewrite some older code to use saveAll() and found that > saveAll seems built for "only" a single level of association. Is that > right or is my data-array possibly in the wrong format? > > For example: > Article hasMany Page, Page hasMany Paragraph > I am able to save Article and Page data but have not been able to save > Paragraph data at the same time using saveAll. > I just wanted to check that this is correct and that I have not simply > missed some trick needed to get it to work. Looking at model.php it > looks like it only saves direct associations for the current model and > no "recursive" models. > > regards > Martin --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---