Hi,

I am unable to get the tapestry 4 radio group working.

My HTML

<td><span jwcid="activeServerRadioGroup"></span></td>
<td><input type="radio" jwcid="activeServerRadio" /></td>

My .page

<property name="activeServer"/>
<component id="activeServerRadioGroup" type="RadioGroup">
         <binding name="selected" value="activeServer.selected"/>
</component>
<component id="activeServers" type="For">
     <binding name="source" value="activeServers"/>
     <binding name="keyExpression" value="literal:id"/>
     <binding name="value" value="activeServer"/>
     <binding name="element" value="literal:tr"/>
</component>
<component id="activeServerRadio" type="Radio">
      <binding name="value" value="activeServer.id"/>
</component>

In my .java file I have a method getActiveServers() that returns a list of
custom class with selected, id attributes. The above structure is not
working. Can somebody help?

Thanks.

Reply via email to