jpopup extension

these is my view Admission/_form

<?php $this->widget(‘ext.popup.JPopupWindow’, array(

      'tagName'=&gt;'button',


      'content'=&gt;'Choosen',


      //  'url'=&gt;array('/selectpatientadmission/index'), 


	  


        // 'url'=&gt;array('Admission/ninja', 'partial' =&gt; '1'),


	  


        'options'=&gt;array(


        'height'=&gt;500,


        'width'=&gt;1000,


        'top'=&gt;50,


        'left'=&gt;50,


       ),


    )); ?&gt;&#60;&#33;-- popup --&#62;

and these is my controller/action(admissioncontroller) used for renderpartailly it quit using but not proper …plz help me out of these…thanks

public function actionNinja($partial = false)

{


       if (&#036;partial) 


	   { 


	        &#036;this-&gt;renderPartial('/selectpatientadmission/index');  //these i want renderpartaillly 


	   } 


	   else


	   { 


	         &#036;this-&gt;render('/selectpatientadmission/index');


	    } 


}