Found the problem...
using:
$html->hidden('Profile/Profile', array('value' =>
$this->controller->Session->read('p.id')));
doesnt work for me. I had to manually insert the profile id in the
create method of my projects controller:
$this->data['Profile']['Profile']['id'] = $this->Session->read('p.id');
$this->Project->save($this->data);
Hope this helps other developers who are facing the same prob.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---