System.out.println("logged teacher: " + loggedTeacher.getIdInternal() + " execution course: " + executionCourse.getIdInternal());
    public ActionForward execute(ActionMapping mapping, ActionForm actionForm,	    HttpServletRequest request, HttpServletResponse response) throws Exception {	final IViewState viewState = RenderUtils.getViewState();	ExecutionCourse executionCourse = null;		if (viewState != null && viewState.getMetaObject().getObject() instanceof SummariesManagementBean) {	    executionCourse = ((SummariesManagementBean) viewState.getMetaObject().getObject()).getExecutionCourse();	} else if (viewState != null && viewState.getMetaObject().getObject() instanceof ShowSummariesBean) {	    executionCourse = ((ShowSummariesBean) viewState.getMetaObject().getObject()).getExecutionCourse();	} else if (viewState != null && viewState.getMetaObject().getObject() instanceof NextPossibleSummaryLessonsAndDatesBean) {	    executionCourse = ((NextPossibleSummaryLessonsAndDatesBean) viewState.getMetaObject().getObject()).getLesson().getShift().getDisciplinaExecucao();	} else {	    executionCourse = readAndSaveExecutionCourse(request);	}	String teacherNumber = request.getParameter("teacherNumber_");	Teacher loggedTeacher = (StringUtils.isEmpty(teacherNumber) ? getLoggedPerson(request).getTeacher() : Teacher.readByNumber(Integer.valueOf(teacherNumber)));	Professorship loggedProfessorship = loggedTeacher.getProfessorshipByExecutionCourse(executionCourse);	request.setAttribute("loggedTeacherProfessorship", loggedProfessorship);	request.setAttribute("loggedIsResponsible", loggedProfessorship.isResponsibleFor());	request.setAttribute("executionCourse", executionCourse);	return super.execute(mapping, actionForm, request, response);    }