How to submit a form for one model in another's controller?
When you create a form, you can explicitly set what the form action is using the url parameter:
$this->Form->create('Cmt', array('url'=>$this->Html->url(array('controller'=>'cmts', 'action'=>'add'))));
As for the Post ID, I assume that you have a 1-to-Many relationship between posts and comments. If that's the case, you should just be able to do the following in your view:
echo $this->Form->input('post_id', array('type'=>'hidden'));
Then, in your view function, set $this->data['Cmt']['post_id'] = $post['Post']['id'];
to get it to automatically populate.
Aucun commentaire