vmCommonHTML::yesnoRadioList / radioListArr bug??

robert101083
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Wed Oct 10, 2007 12:39 pm

vmCommonHTML::yesnoRadioList / radioListArr bug??

Postby robert101083 » Mon Nov 17, 2008 1:05 pm

Hey all,

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' ) ;

Return to “Third Party Testing for Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 2 guests