title: CListView in yii
body: <p>please solve my problem
  i m using Clistview like below </p>
  
  <pre><code>$this-&gt;widget('zii.widgets.CListView', array(
                  'id'=&gt;'yii-list',
                  'dataProvider'=&gt;$model,
                  'itemView'=&gt;'_remark_list',
                  //'template'=&gt;'{pager}&lt;div class="fleft"&gt;&lt;b&gt;{sorter}&lt;/b&gt;&lt;/div&gt;&lt;div class="fright"&gt;{summary}&lt;/div&gt;&lt;div class="clear"&gt;&lt;/div&gt;&lt;div class="rightInner"&gt;&lt;h1&gt;Search Result&lt;/h1&gt;{items}&lt;/div&gt;{pager}',
                  'enableSorting' =&gt; true,
                  //'sortableAttributes'=&gt;array(
                  //  'email_id'=&gt;'email_id',
                  //),
                  'afterAjaxUpdate'=&gt;'function(id,data) {
                          $("a#manage-inline").fancybox({"scrolling":"auto","titleShow":false,"width":"850px","height":"500px"});
                      }',
                  ));
  </code></pre>
  
  <p>I got error like this
  Fatal error: Call to a member function getData() on a non-object
  in <strong>dataProvider</strong></p>
  
  <p>what to write in dataprovider.</p>
  
  <p>THis is my controller</p>
  
  <pre><code>public function actionViewEmailLog($id, $layout=false)
      {
          $model          = EmailArchive::model()-&gt;findAll('email_id =:data', array(':data'=&gt;$id));
          $this-&gt;layout   = false;
          $this-&gt;render('ViewEmailLog',array('model'=&gt;$model));
      }
  </code></pre>
  
  <p>plz help me soon
  thanks in advance</p>