I've finally do it like this, and It's work, but maybe there is a
better solution...

On 30 abr, 01:31, "b logica" <[EMAIL PROTECTED]> wrote:
> In the controller should be ok:
>
> if ($this->Model->OtherModel->validates())
>
> On Tue, Apr 29, 2008 at 5:50 AM,ygneo<[EMAIL PROTECTED]> wrote:
>
> >  In a previous thread:
> >  http://groups.google.com/group/cake-php/browse_thread/thread/97acdfdf...
>
> >  I was asking about validating related models.
>
> >  It seems that I have to call the validation explictly, but where? In
> >  the controller, in the beforeSave of the "parent" model??
>
> >  Any idea?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to