http://www.yiiframework.com/doc/api/1.1/CJuiSliderInput
2nd example of the CJuiSliderInput:
$this->widget('zii.widgets.jui.CJuiSliderInput', array(
'model'=>$model,
'attribute'=>'timeMin',
'maxAttribute'=>'timeMax,
// additional javascript options for the slider plugin
'options'=>array(
'range'=>true,
'min'=>0,
'max'=>24,
),
));
should be
$this->widget('zii.widgets.jui.CJuiSliderInput', array(
'model'=>$model,
'attribute'=>'timeMin',
'maxAttribute'=>'timeMax',
// additional javascript options for the slider plugin
'options'=>array(
'range'=>true,
'min'=>0,
'max'=>24,
),
));
notice the missing single quote after timeMax.
btw. great Framework, keep up the good work.