title: Radio button on the Wicket does not work in groups
body: <p>My question is regarding the Framework Wicket, more precisely with the 'Radio' component.
  .
  The problem is that I am implementing it in html page and the radio buttons are appearing but you can not change option ... even if I create 10 different options can only select the first option ... when I click on the other options first 'radio button' remains marked ...
  .
  here is the code of java</p>
  
  <pre><code>    private IModel&lt;Boolean&gt; selected = new Model&lt;Boolean&gt;();       
      .
      .
      RadioGroup group = new RadioGroup("group", selected);
      form.add(group);
  
      group.add(new Radio("sim", new Model&lt;Boolean&gt;(true)));
      group.add(new Radio("nao", new Model&lt;Boolean&gt;(false)));
  </code></pre>
  
  <p>Here is the HTML</p>
  
  <pre><code>       &lt;wicket:container wicket:id="group"&gt;
              &lt;label&gt;&lt;input wicket:id="sim" type="radio" name="ticker"/&gt; Sim&lt;/label&gt;
             &lt;label&gt;&lt;input wicket:id="nao" type="radio" name="ticker"/&gt; Não&lt;/label&gt;
       &lt;/wicket:container&gt;
  </code></pre>
  
  <p>Otherwise I tried to implement was as follows: JAVA:</p>
  
  <pre><code>    private String selected;        
      .
      .
      List&lt;String&gt; list = new ArrayList&lt;String&gt;();
      list.add("Sim");
      list.add("Não");
      new RadioChoice&lt;String&gt;("radio",new PropertyModel&lt;String&gt;(this,"selected"),list);
  </code></pre>
  
  <p>the HTML</p>
  
  <pre><code>    &lt;span wicket:id="radio" /&gt;
  </code></pre>
  
  <p>But the problem persists ... I can only select the first option, by clicking on the other nothing happens. Anyone have any idea?</p>