Hmmmmmm, strange - may be the code works but the problem is at my side
- all my validation seems to doesn't work.
I haven't change my validate array and error messages in layout but
now everything validates - even invalid fields, and beferoValidate()
returns false but validation passes......

On Nov 7, 4:24 pm, "R. Rajesh Jeba Anbiah"
<[EMAIL PROTECTED]> wrote:
> 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 [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