@Override
 protected CharSequence getFindCheckboxesFunction() {
   return String.format(
       "Wicket.CheckboxSelector.findCheckboxesFunction('%s', '%s')",
       choiceComponent.getMarkupId(), choiceComponent.getInputName());
 }
  /**
   * @param id The component ID
   * @param choiceComponent The checkbox choice component this Selector will manage.
   */
  public CheckboxMultipleChoiceSelector(String id, CheckBoxMultipleChoice<?> choiceComponent) {
    super(id);

    this.choiceComponent = choiceComponent;
    choiceComponent.setOutputMarkupId(true);
  }