i am try to pick month and year using this code i got error
<?php $ui->widget('DatePicker', array(
'model'=>$model,
'attribute'=>'attribute',
'options'=>array(
'dateFormat'=>'mm.yy',
'minDate'=>0,
),
)); ?>
error
throw new CException(Yii::t(‘zii’,’{class} must specify “model” and “attribute” or “name” property values.’,array(’{class}’=>get_class($this))));
55
56 if(($id=$this->getId(false))===null)
57 {