mmm..but I think that $this->params['data']=$data; is "standard", see first blog tutorial of wiki, edit() action:
http://wiki.cakephp.org/tutorials:blog_tutorial_-_1?s=params+data function edit($id=null) { if (empty($this->params['data'])) { $this->Post->id = $id; $this->params['data'] = $this->Post->read(); $this->render(); } else { if ( $this->Post->save($this->params['data']['Post'])) { $this->flash('Your post has been updated.','/posts'); } } } In newer versions of cake, $this->data at controller is used instead, I think that $this->data doesn't work in this case --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---