Skip navigation

Checkboxes and Toogles

Bootstrap-Checkbox(Picker)

Toggleable checkbox with Bootstrap-Checkbox(Picker)

Bootstrap-Toggle

Toggleable checkbox with Bootstrap Toggle

CheckBox-X - three state checkbox

Three state checkboxes with Checkbox-X.

To use it just replace the usage of org.apache.wicket.markup.html.form.CheckBox with de.agilecoders.wicket.extensions.markup.html.bootstrap.form.checkboxx.CheckBoxX
CheckboxX checkboxX = new CheckboxX("checkboxX", new Model<Boolean>(true)) {
  @Override
  protected void onChange(Boolean value, AjaxRequestTarget target) {
    info("The selection is: " + value);
    target.add(feedback);
  }
};
The source of this demo could be found here.