Wicket Remove

wicket.markup.html.form.CheckBoxMultipleChoice

[back to the reference]

A CheckBoxMultipleChoice component lets users select multiple values from a group of checkboxes.

Select your favorite sites
Select some of these excellent choices


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);

Further examples & and comments/explanations may be available in the source code.