Using the CListView

Hi,

I’m using the CListView widget with an item view coming from a different ‘module’. I managed to make it with the ‘../’ operator. Is there a more elegant way to make it ?




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

	'dataProvider'=>$dataProvider,

	'itemView'=>'../item/_view',

	));



Thank you for your help,

Fabrice

You could use the classpaths in the documentation.

IE

‘itemView’=>‘application.views.yourView.viewName’