I created a site for fun to learn CakePHP but for some reason I can\'t get a multiple select dropdown box to show my selected items. In this example 1 video game can have multip
For everyone who sets public $recursive = -1;
in his AppModel due to performance reasons, or changes the recursion in his controller:
The automagic won't work without recursive 1! Make sure you change it in the options when retreiving your data for the edit.
$options = array(
'recursive' => 1,
'conditions' => array('YourModel.' . $this->YourModel->primaryKey => $id)
);
$this->request->data = $this->YourModel->find('first', $options);