On Oct 9, 2007, at 7:09 AM, Tim O'Brien wrote:

Submitted a patch that adds the ability to have Radio/RadioGroup that
violate the component hierarchy. I needed this because I was working on a
system that needed to present a form with radio options that were not
adjacent. and unable to be related via the component hierarchy.


What's the problem with:

<form>
  <div wicket:id="optionGroup">
  <fieldset>
    <legend>Option 1</legend>
    <input type="radio" name="option" value="option1"> Selected<br/>
    <input type="text" name="option1Text"> Option 1 Text<br/>
    <input type="text" name="option1Num"> Option 1 Number<br/>
  </fieldset>
   <fieldset>
    <legend>Option 2</legend>
    <input type="radio" name="option" value="option2"> Selected<br/>
    <input type="text" name="option1Temp"> Option 2 Temperature<br/>
    <input type="text" name="option1Num"> Option 2 Number<br/>
  </fieldset>
  </div>
</form>


-Ryan

Reply via email to