} catch (NotAuthorizedFilterException e) { ActionErrors actionErrors = new ActionErrors(); actionErrors.add("error", new ActionError("error.exception.notAuthorized2")); saveErrors(request, actionErrors); return mapping.getInputForward();
    public ActionForward setFinalDegreeProposalPeriod(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixActionException,            FenixFilterException {        DynaActionForm finalDegreeWorkScheduleingForm = (DynaActionForm) form;        String startOfProposalPeriodDateString = (String) finalDegreeWorkScheduleingForm                .get("startOfProposalPeriodDate");        String startOfProposalPeriodHourString = (String) finalDegreeWorkScheduleingForm                .get("startOfProposalPeriodHour");        String startOfProposalPeriodString = startOfProposalPeriodDateString + " "                + startOfProposalPeriodHourString;        String endOfProposalPeriodDateString = (String) finalDegreeWorkScheduleingForm                .get("endOfProposalPeriodDate");        String endOfProposalPeriodHourString = (String) finalDegreeWorkScheduleingForm                .get("endOfProposalPeriodHour");        String endOfProposalPeriodString = endOfProposalPeriodDateString + " "                + endOfProposalPeriodHourString;        SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy HH:mm");        Date startOfProposalPeriod = null;        Date endOfProposalPeriod = null;        try {            startOfProposalPeriod = dateFormat.parse(startOfProposalPeriodString);        } catch (ParseException e) {            ActionErrors actionErrors = new ActionErrors();            actionErrors.add("finalDegreeWorkProposal.setProposalPeriod.validator.start",                    new ActionError("finalDegreeWorkProposal.setProposalPeriod.validator.start"));            saveErrors(request, actionErrors);            return mapping.getInputForward();        }        try {            endOfProposalPeriod = dateFormat.parse(endOfProposalPeriodString);        } catch (ParseException e) {            ActionErrors actionErrors = new ActionErrors();            actionErrors.add("finalWorkInformationForm.numberOfGroupElements", new ActionError(                    "finalWorkInformationForm.numberOfGroupElements"));            saveErrors(request, actionErrors);            return mapping.getInputForward();        }        IUserView userView = SessionUtils.getUserView(request);        HttpSession session = request.getSession(false);        InfoExecutionDegree infoExecutionDegree = (InfoExecutionDegree) session                .getAttribute(SessionConstants.MASTER_DEGREE);        Object args[] = { infoExecutionDegree.getIdInternal(), startOfProposalPeriod,                endOfProposalPeriod };        try {            ServiceUtils.executeService(userView, "DefineFinalDegreeWorkProposalSubmisionPeriod", args);        } catch (FenixServiceException e) {            throw new FenixActionException(e);        }        request.setAttribute("sucessfulSetOfDegreeProposalPeriod", "sucessfulSetOfDegreeProposalPeriod");        return prepare(mapping, form, request, response);    }