dropDownList() and submitting an array issues

First, here is my code:

Model:


class SearchModel extends CFormModel

{

	public $skills;

	public $skills_options;

	etc...

	

	public function getSkillsOptions()

	{

		$this->skills_options['first'] = 'first option';

		$this->skills_options['second'] = 'second option';

		etc..

	}

}

Controller:


class OrgController extends Controller

{

	public function actionSearch()

	{

		$model = new SearchModel();

		$model->getSkillsOptions();

		$this->render('search', array('model' => $model));

	}

}

View:


<?php $form=$this->beginWidget('CActiveForm', array(

	'id'=>'search-form',

	'enableClientValidation'=>true,

	'clientOptions'=>array(

		'validateOnSubmit'=>true,

	),

)); ?>


	<div id="skillArray">

		<?php echo $form->dropDownList($model, 'skills', $model->skills_options); ?>

	</div>


<?php $this->endWidget(); ?>

So, my first problem is that the dropdown that I have doesn’t set any of the options to


selected='selected'

when they are clicked.

Second, the var $skills in my model needs to be an array of all the selected options from the dropDownLists (I want to have multiple, once I get it working), so will MVC know to populate the Model’s $skills var as an array, or is it just going to overwrite each value with the next one, leaving me only with the data from the last dropdown in the series?

Thanks in advance,

Jason