title: Wicket 6 Set Checkbox of CheckGroup unchecked by default
body: <p>I'm using CheckGroup and Check  to set up a listview of CheckBoxes. The Wicket example show the checkboxes unchecked by default: <a href="http://www.wicket-library.com/wicket-examples/compref/wicket/bookmarkable/org.apache.wicket.examples.compref.CheckGroupPage" rel="nofollow" title="example">Wicket Checkgroup Example</a></p>
  
  <p>I've been looking and testing for a while, but mine are checked by default and I need them to be unchecked. </p>
  
  <p>Here is my code (Note that it's a custom class which i'll add to a form later):</p>
  
  <pre><code>private CheckGroup&lt;String&gt; checks;
  private List&lt;String&gt; propertyColumnNames;
  private Map&lt;String, String&gt; readableColumnNames;
  
  checks = new CheckGroup&lt;String&gt;("checkGroup", propertyColumnNames);
  
  ListView&lt;String&gt; checksList = new ListView&lt;String&gt;("columns", propertyColumnNames) {
    private static final long serialVersionUID = 1L;
  
    @Override
    protected void populateItem(ListItem&lt;String&gt; item) {
      Check&lt;String&gt; check = new Check&lt;String&gt;("check", item.getModel());
      check.setLabel(new Model&lt;String&gt;(readableColumnNames.get(item.getModel().getObject())));
      item.add(check);
      item.add(new SimpleFormComponentLabel("column", check));
    }
  };
  checksList.setReuseItems(true);
  checks.add(checksList);
  add(checks);
  </code></pre>
  
  <p>How can I get them unchecked by default ?</p>
  
  <p>Regards,</p>