Pagination with zii.widgets.CListView

I was not happy with the default 10 items per page that zii.widgets.CListView was displaying for me so I tried to turn off pagination:


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




)); ?>


but to my surprise it just truncated my list to 10 items without the next page option, instead of displaying them all. So two questions:


[*]how do I control more advanced options like the items per page and

[*]if I did just want it to list everything, should I drop this widget altogether?


Looks like pager property would help with this but I ended up following the example that can be seen with CPagination as it pushed the decision into the controller.

You should edit the CPagination ebedded in the dataprovider.