name=($p_name==null)?$this->name:$p_name;
$this->value=($p_value==null)?$this->value:$p_value;
if ( $this->readOnly==true) return $this->display();
$disabled=($this->disabled==true)?"disabled":"";
//echo "Selected ".$this->selected;
//$r=(isset($this->label))?$this->label:'';
$r="";
// if ( $this->table == 1 ) $r=td($r);
$a="";
if ( $this->table == 1 ) $a='
'.$a.'
';
return $r.$a;
}
/*!\brief print in html the readonly value of the widget*/
public function display()
{
$r="";
for ( $i=0;$ivalue);$i++)
{
if ($this->selected==$this->value[$i]['value'] )
{
$r=h($this->value[$i]['label']);
}
}
if ( $this->table == 1 ) $a='
'.$r.'
';
return $r;
}
static public function test_me()
{
}
}