pageSize doesn't work with cListView

Hi im new to yii and im trying to display a list of items with “cListView” widget, but when i try to change the default value of “pageSize” i dont’t see te change. it always displays 10 items. Can anyone helme? Thanks.

$this->widget('zii.widgets.CListView', array(





            'header'=>'Ir a la página',



            'prevPageLabel'=>'< anterior',

            'nextPageLabel'=>'siguiente >',	

            'lastPageLabel'=>'último >>',     



And i have this relations in my model

public function relations()


            return array(

                'fotos' => array(self::HAS_MANY, 'Fotos', 'idmascota'),

                'subcategoria' => array(self::BELONGS_TO, 'Subcategoria', 'idsubcategoria'),

                'categoria' => array(self::BELONGS_TO, 'Categoria', 'idcategoria'),

                'user' => array(self::BELONGS_TO, 'User', 'iduser'),



Set the pageSize in CActiveDataProvider::pagination property - http://www.yiiframew…gination-detail

Thanks works fine!