}
private void createWorkingStudentSearch(HtmlTableRow row, HtmlTableRow headerRow) {
headerRow.createCell(BundleUtil.getString(Bundle.APPLICATION, "label.workingStudents"));
HtmlCheckBoxList workingStudentCheckBoxList = new HtmlCheckBoxList();
for (WorkingStudentSelectionType workingStudentSelectionType : WorkingStudentSelectionType.values()) {
HtmlCheckBox option =
workingStudentCheckBoxList.addOption(
new HtmlLabel(BundleUtil.getString(Bundle.ENUMERATION,
workingStudentSelectionType.getQualifiedName())), workingStudentSelectionType.name());
option.setChecked(bean.getWorkingStudentTypes().contains(workingStudentSelectionType));
}
row.createCell().setBody(workingStudentCheckBoxList);
workingStudentCheckBoxList.bind(getInputContext().getMetaObject(), "workingStudentTypes");
workingStudentCheckBoxList.setConverter(new EnumArrayConverter(WorkingStudentSelectionType.class));
workingStudentCheckBoxList.setSelectAllShown(true);
}