Cakephp 不同操作的JS帮助程序链接

Cakephp 不同操作的JS帮助程序链接,cakephp,cakephp-2.0,Cakephp,Cakephp 2.0,我在用这个 echo $this->Js->submit("Send", array( 'before'=>$this->Js->get('#sending')->effect('fadeIn'), 'success'=>$this->Js->get('#sending')->effect('fadeOut'),

我在用这个

              echo $this->Js->submit("Send", array(
                'before'=>$this->Js->get('#sending')->effect('fadeIn'),
                'success'=>$this->Js->get('#sending')->effect('fadeOut'),
                'update'=>'#success'                            
                    )); 
这在index.ctp中,单击后它将转到控制器中的索引操作。但我想让它转到另一个动作。我是怎么做到的。 谢谢

我知道了

需要用于不同操作的url数组

 echo $this->Js->submit("Send", array(
'before'=>$this->Js->get('#sending')->effect('fadeIn'),
'success'=>$this->Js->get('#sending')->effect('fadeOut'),
'update'=>'#success',
'url' => array(
     'action' => 'pp'
         ),                     
));