jpopup extension

i using jpopup box when rendering a view of another controller inside a box ,its flowing a error …Call to a member function getErrors() on a non-object in …someone help me

<?php

$this->breadcrumbs=array(

'Jpopup',

);?>

<?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'),


	    'url'=&gt;array('Jpopup/ninja'),


        'options'=&gt;array(


        'height'=&gt;800,


        'width'=&gt;1000,


        'top'=&gt;50,


        'left'=&gt;50,


       ),


    )); ?&gt;

public function actionNinja()

{





      


      


   &#036;this-&gt;renderPartial('/site/contact',array('sites'=&gt;&#036;sites));


   


}

please show me your controller code

does your lightbox support html / ajax if it does just change your action with following