<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org">
<head>
    <title>Wicket Examples - component reference</title>
</head>
<body>
    <wicket:extend>

    <h1>wicket.markup.html.form.CheckGroup</h1>
    <wicket:link><a href="Index.html">[back to the reference]</a></wicket:link>

    <p>
    A CheckBoxGroup and CheckBoxComponnet components let users select multiple values from a group of checkboxes. These components are more flexible then the CheckBoxMultipleChoice component in that individual checkboxes are full components, unlike with CheckBoxMultipleChoice, and thus can be used anywhere in the markup.
    </p>
    <p>
     <form wicket:id="form">
        <span wicket:id="group">
            <table class="dotted-box">
             <tr>
              <td valign="top">Select persons</td>
              <td>
                  <input type="checkbox" wicket:id="groupselector">check/uncheck all</input><br/>
                  <table cellspacing="0" cellpadding="2">
                    <tr>
                        <td><b>Select</b></td>
                        <td><b>First Name</b></td>
                        <td><b>Last Name</b></td>
                    </tr>
                    <tr wicket:id="persons">
                        <td><input type="checkbox" wicket:id="checkbox"/></td>
                        <td><span wicket:id="name">[this is where name will be]</span></td>
                        <td><span wicket:id="lastName">[this is where lastname will be]</span></td>
                    </tr>
                  </table>
                  <span valign="top">
                  </span>
              </td>
             </tr>
             <tr>
              <td colspan="2" align="center">
               <input type="submit" value="submit" />
              </td>
             </tr>
            </table>
        </span>
     </form>
     <span wicket:id="feedback">feedbackmessages will be put here</span>
    </p>
    <span wicket:id="explainPanel">panel contents come here</span>
</wicket:extend>
</body>
</html>