echo CHtml::dropDownList($model,'Category',array( 'Yacht'=>'Yacht', 'Boat'=>'Boat', 'Ship'=>'Ship', 'Saddleboat'=>'Saddleboat', 'Rubberboat'=>'Rubberboat', 'Others'=>'Others'));
the code above gives me the error below:
Object of class Vessel could not be converted to string
Not sure whats wrong