CListView/Pagination/Ajax problem

Hi all,

I have the following view:

<div class="view">



    $this->widget('CListView', array(






The _viewGuest is the following:

  <?php echo CHtml::encode($data->name); ?>

  <?php echo CHtml::encode($data->statusText); ?>

  <?php echo CHtml::encode($data->email); ?>

  <?php echo CHtml::ajaxLink('Resend',CController::createUrl('resend',array('id'=>$data->id))

     array('type'=>'POST','success'=>'function(msg) { window.alert(msg); }')

  ); ?>

The problem I have is that when the "Resend" action is called from an item in the first page, it works OK. But on following pages it allways sends ids from the first page.

Any help will be highly appreciated.

Don’t use ajaxLink, it has problem when is ajax-refreshed. Look this post