On Nov 7, 7:21 pm, senser <[EMAIL PROTECTED]> wrote: > Do you mean that this code works: > > >$this->model1->model2->save($this->data) > > > and the below has to be: > > >$this->model1->model2->data = $this->data; > >$this->model1->model2->validates(); > > Both models are validated and error messages are displayed ???
Yes in my case. But, I'm not sure if I miss anything. -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---