wicket.markup.html.form.CheckBoxMultipleChoice
[back to the reference]A CheckBoxMultipleChoice component lets users select multiple values from a group of checkboxes.
Behind the Scenes
Example HTML
<span wicket:id="sites">
</span>
<span wicket:id="choices">
</span>
Example Code
CheckBoxMultipleChoice siteChoice = new CheckBoxMultipleChoice("sites", SITES);
form.add(siteChoice);
CheckBoxMultipleChoice manyChoice = new CheckBoxMultipleChoice("choices", MANY_CHOICES);
form.add(manyChoice);