Armando
(Armandoricky)
1
I need to collect data in the form using "Collecting to Tabulate Input." in the form, I have several "activeRadioButtonList."
Exemple:
CHtml::activeRadioButtonList($tipo_evento, "aluno_ve[$i]", array('1'=>'sim', '0'=>'não'));
…
I receive this message:
CException
Description
Property "tipo_evento.aluno_ve[0]" is not defined.
Source File
D:\WebServer\Apache2210\htdocs\yii-1.0.0.r322\framework\db\ar\CActiveRecord.php(393)
…
Thanks!
qiang
(Qiang Xue)
2
Could you please create a ticket about this issue? Thanks!
Armando
(Armandoricky)
3
I solved the problem!!!
I had to force the attribute 'name' in the array of the $htmlOptions.
See the exemple:
foreach($tipoeventoList as $i=>$tipo) {
echo CHtml::activeRadioButtonList($tipo, "aluno_ve", array('1'=>'sim', '0'=>'não'), array('name'=>get_class($tipo)."[$i][aluno_ve]", 'separator'=>' / '));
}
The way below it's doesn't work:
foreach($tipoeventoList as $i=>$tipo) {
echo CHtml::activeRadioButtonList($tipo, "aluno_ve[$i]", array('1'=>'sim', '0'=>'não'), array('separator'=>' / '));
}
CHtml::activeRadioButtonList($tipo, "aluno_ve[$i]", …) could be a bug?
Sorry my english 
Armando
(Armandoricky)
5
I created a ticket
http://code.google.c…detail?id=53#c0
Armando from Rio de Janeiro - Brazil 