On Sat, Feb 28, 2009 at 11:06 AM, Gonzalo Servat <[email protected]> wrote:
> On Sat, Feb 28, 2009 at 10:49 AM, GetIT <[email protected]>wrote: > >> [..snip..] >> >> But if I save the data only the thing belonging to the client are >> saved. The data from the progress is not saved. >> Why? >> > > I may be leading you onto the wrong path, but as far as I know you need to > call save() on $this->Client->Progress as well (ie. > $this->Client->Progress->save()). > Ahhh, I was right! See: http://book.cakephp.org/view/84/Saving-Related-Model-Data-hasOne-hasMany-belongsTo - Gonzalo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
