Package org.fenixedu.academic.dto.administrativeOffice.externalUnits

Examples of org.fenixedu.academic.dto.administrativeOffice.externalUnits.EditExternalCurricularCourseBean


    }

    public ActionForward prepareEditExternalCurricularCourse(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response) {

        request.setAttribute("editExternalCurricularCourseBean", new EditExternalCurricularCourseBean(
                getExternalCurricularCourse(request)));
        return mapping.findForward("prepareEditExternalCurricularCourse");
    }
View Full Code Here


    }

    public ActionForward editExternalCurricularCourse(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws FenixServiceException {

        final EditExternalCurricularCourseBean externalCurricularCourseBean = getRenderedObject();

        try {
            EditExternalCurricularCourse.run(externalCurricularCourseBean);

            request.setAttribute("oid", externalCurricularCourseBean.getExternalCurricularCourse().getExternalId());
            return viewExternalCurricularCourse(mapping, actionForm, request, response);

        } catch (final IllegalDataAccessException e) {
            addActionMessage("error", request, "error.notAuthorized");
        } catch (final DomainException e) {
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.administrativeOffice.externalUnits.EditExternalCurricularCourseBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.