I want to use the ajaxUrl property to customize the URL for update CListView's pages, but this property not work, the requests are made to the current URL, I try to debug it with Firebug and seems CLinkPager widget don't know which is the ajax URL to use when user click on a page number: the options passed to $.fn.yiiListView.update include the current URL, not the ajaxUrl.
EDIT: My code looks like.
The view:
$this->widget('zii.widgets.CListView',array(
'dataProvider'=>$lastPosts,
'itemView'=>'_post',
'ajaxUrl'=>'site/lastPosts'
));
//... Another widgets with other DataProviders
The site controller:
public function actionLastPosts(){
$lastPosts = Post::findLastPosts();
$this->widget('zii.widgets.CListView',array(
'dataProvider'=>$lastPosts,
'itemView'=>'_post',
'ajaxUrl'=>'site/lastPosts'
));
}Thanks!!

Help















