Hi,

Can you say a little more exactly what you are trying to do as your HTML 
doesn't appear to be correct. The RadioGroup needs to wrap around the Radio 
buttons at the very least.

Richard

On 19 Jan 2011, at 19:29, sunray 2003 wrote:

> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to