Try the BindableBehavior, then. That should work.

On Tue, Jul 22, 2008 at 12:09 PM, Marc <[EMAIL PROTECTED]> wrote:
>
> i saw that one documented in manual as well, sorry i forgot im using
> 1.2.0.6311 Containable behaviour isnt available in this version.
> Ofcourse i could upgrade if there is no other possibillity to achieve
> this. And does it work when the 2 models arent directly related to
> each other, since using conditions doesnt work either this deep.
>
> On 22 jul, 18:05, "Siegfried Hirsch" <[EMAIL PROTECTED]>
> wrote:
>> You can try to use the containable behavior if you are using 1.2
>>
>> http://book.cakephp.org/view/474/containable
>>
>> On Tue, Jul 22, 2008 at 6:03 PM, Marc <[EMAIL PROTECTED]> wrote:
>>
>> > I have this problem:
>> > Plate belongsTo User
>> > User belongsTo Customer
>> > Customer belongsTo Dealer
>> > if i set recursive = 2 and do find('all') on Plate i will get the
>> > right data, but now i want to find only the plates that are related to
>> > a specified Dealer.id.
>> > I tried using conditions => array('Dealer.id' => $id) but this doesnt
>> > work.
>> > Anybody can help me out on this one?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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