Fixed bug for getting the value of an attribute

Fixed bug using `CHtml::resolveValue($this->model,$this->attribute)` instead of just $this->model->{$this->attribute}