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