prepareConstants(userView, infoPerson, request);
prepareForm(dynaForm, request);
}
private void prepareForm(DynaActionForm dynaForm, HttpServletRequest request) {
InfoExecutionYear infoExecutionYear = (InfoExecutionYear) request.getAttribute("executionYear");
InfoPerson infoPerson = (InfoPerson) request.getAttribute("infoPerson");
dynaForm.set("externalId", infoPerson.getExternalId());
dynaForm.set("teacherId", infoPerson.getUsername());
dynaForm.set("teacherName", infoPerson.getNome());
if (dynaForm.get("executionYearId") == null || dynaForm.getString("executionYearId").isEmpty()) {
dynaForm.set("executionYearId", infoExecutionYear.getExternalId());
}
List detailedProfessorshipList = (List) request.getAttribute("detailedProfessorshipList");
List executionCourseIds = new ArrayList();