radiogroup g=new radiogroup("group", mybooleanmodel());
g.add(new radio("t",new model(boolean.true));
g.add(new radio("f",new model(boolean.false));

<wicket:container wicket:id="group">
<p><input wicket:id="t" type="radio" value=""> Click here for option one</p>
              <p class="bottomOption"><input wicket:id="f" name=""
type="radio" value=""> Click here for option two</p>
</wicket:container>

-igor

On Thu, Apr 23, 2009 at 10:28 AM, Jason Novotny <[email protected]> wrote:
>
> Hi,
>
>   Somehow I seem to have problems if I want to do individual radio buttons
> in my HTML and it looks like I need to use RadioGroup. Here is the example
> HTML and I'm trying to figure out how to wicket-ize it... the model just
> needs to be a boolean since I have only two values.
>
> <p><input wicket:id="option" type="radio" value=""> Click here for option
> one</p>
>               <p class="bottomOption"><input name="" type="radio" value="">
> Click here for option two</p>
>
>
> Thanks, Jason
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to