Hi everyone :

I create two Model , Order and OrderDetail

the Order hasMany OrderDetail

And I read Order  , then it's got the  following array
----------------------------
[Order]
   id      =  1
   name =  xxx
[OrderDetail]
   id      =  2
   name =  xxx
------------------------------

But I tried to edit the Order data , then validate fail the array is 
[Order]
   id      =  1
   name =  '  '   >-------------- not empty !!!!

the  OrderDetail Model array  is gone
how can I stay the it ? And Why the hasMany data is gone ?


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to