On Sat, Feb 28, 2009 at 11:06 AM, Gonzalo Servat <gservat@gmail.com> wrote:
Ahhh, I was right! See:
http://book.cakephp.org/view/84/Saving-Related-Model-Data-hasOne-hasMany-belongsTo
- Gonzalo
On Sat, Feb 28, 2009 at 10:49 AM, GetIT <david.bruenner@t-online.de> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment