executionCourse = bean.getExecutionCourse();
studentsGroup = bean.getAttendsGroup();
label = bean.getLabel();
sender = ExecutionCourseSender.newInstance(executionCourse);
} else {
SearchDegreeStudentsGroup degreeStudentsGroup =
SearchDegreeStudentsGroup.parse((String) getFromRequestOrForm(request, (DynaActionForm) form, "searchGroup"));
label = degreeStudentsGroup.getLabel();
String executionDegreeId = (String) getFromRequestOrForm(request, (DynaActionForm) form, "executionDegreeId");
studentsGroup = degreeStudentsGroup.getUserGroup();
ExecutionDegree executionDegree = FenixFramework.getDomainObject(executionDegreeId);
sender = CoordinatorSender.newInstance(executionDegree.getDegree());
}
Recipient recipient = Recipient.newInstance(label, studentsGroup);