<From: Timo Schnölzer <[EMAIL PROTECTED]> 

> Hi folks, hi Gary, 
> 
> Now with this clay.xml my datatable is having a radio column. Wow, took so 
> long ... 
> 
> 
> The Problem was the value of the radio having a complex type with a toString 
> method not resolved ... 
> 
> Now my html result has entries like: 
> 
> 
> with the problem of "different" names, so i can check each radio type. But i 
> want them to act in one group. What do i miss here??? 
> 

The "selectOneRadio" should handle decoding the value into the bound component 
="[EMAIL PROTECTED]" .

It sounds like you just want to create a radio list  outside of using a 
dataTable.
Look at using the "selectItems" component.  The "value" attribute, you provide
an array of SelectItem[].  

<component jsfid="list" extends="selectOneRadio" id="radio">
   <attributes>
     <set name="value" value="[EMAIL PROTECTED]" />
     <set name="for" value="radioColumn" />
     <set name="index" value="1" />
   </attributes>
   <element renderId="1" jsfid="selectItems">
      <attributes>
 <set name="value" value="[EMAIL PROTECTED]()" />
      </attributes>
   </element>
</component>



> Thx for any help 
> 
> Timo 
> 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 

Reply via email to