Hi,
The RadioGroup just needs to wrap the radio's in your markup. Typically
it does not even render markup in the resultant page.
Instead of this:
<form>
< span wicket:id="radioGroupList">
< span wicket:id="radioGroup"/>
< /span>
<ul>
<li><radio wicket:id="myradio"/></li>
do this:
<form>
<span wicket:id="radioGroup">
<ul wicket:id="listview">
<li> <radio wicket:id="myradio"/></li>
< /span>
</form>
add (rg = new RadioGroup("radioGroup"));
rd.add (new ListView("listView") {...});
This way the radio group will contain the Model Object of the Radio that
was selected by the user when the form submits.
Regards,
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]