I try to make a radiolist using the Joomla! 1.5 functions. One of them is yesnoRadioList which uses radioListArr. Something goes wrong at radioListArr (bug??).
I tried different things, but somehow the value attribute stays empty (value=""). I searched for an exsample in an other component, but I couldn't find one. What's let me think it's a bug, because it is not used by anyone else.
Does anybody know what I'm doing wrong, or is it a bug?
Thnx!!
Edit:
Solved!!:
I use this now:
Code: Select all
$arr = array( 'Redirect','Button' );
$optios=array();
$options[]=JHTML::_('select.option','0','Button');
$options[]=JHTML::_('select.option','1','Redirect');
echo JHTML::_('select.booleanlist', $this->payment_code.'_REDIRECT', 'class="inputbox"', $conf_data[$this->payment_code .'_REDIRECT'], 'Redirect', 'Button' ) ;