final NewGroupSelectPanel groupSelectPanel = new NewGroupSelectPanel(fs.newChildId(), new UserPrefPropertyModel<GroupDO>(
userPrefDao, param, "valueAsObject"), parentPage, param.getParameter());
fs.add(groupSelectPanel);
groupSelectPanel.init();
} else if (Kost2DO.class.isAssignableFrom(param.getType()) == true) {
final UserPrefEntryDO taskParam = data.getUserPrefEntry(param.getDependsOn());
Integer taskId = null;
if (taskParam == null) {
log.error("Annotation for Kost2DO types should have a valid dependsOn annotation. Task param not found for: " + param);
} else {
final TaskDO task = (TaskDO) taskParam.getValueAsObject();
if (task != null) {
taskId = task.getId();
}
}
final Kost2DropDownChoice kost2DropDownChoice = new Kost2DropDownChoice(fs.getDropDownChoiceId(),