Multiple radio buttons with Zii?

I cannot see how to arrange multiple radio buttons by using Zii.

What I need is a list of 8 radio buttons (buttonset) which discribe a list of hours.

The only thing I found is this:




$this->widget('zii.widgets.jui.CJuiButton', array(

'name'=>'hours',

'caption'=>'1',

'value'=>'1',

'buttonType'=>'radio',

'options'=>array(

   	'onclick'=>'',

),

));



Radio button list, or the active variant.

Yes, I am using radio button list atm. But I see no chance getting the Zii widget to work. :(

A setup like this works for me, using CActiveForm:




$this->beginWidget('zii.widgets.jui.CJuiButton', array(

    'buttonType'=>'buttonset',

    'name'=>'hours',

));


echo $form->radioButtonList($model, 'hours', array('1'=>1,'2'=>2,...), array('separator'=>''));


$this->endWidget();



Setting the separator empty removes the br tag, placing the buttons nicely side by side.

Hope this is helpful.