Package org.fenixedu.academic.domain.phd

Examples of org.fenixedu.academic.domain.phd.PhdProgramContextPeriodBean


    }

    public ActionForward prepareAddPhdProgramPeriod(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdProgram phdProgram = (PhdProgram) getDomainObject(request, "phdProgramId");
        PhdProgramContextPeriodBean bean = new PhdProgramContextPeriodBean(phdProgram);

        request.setAttribute("phdProgram", phdProgram);
        request.setAttribute("phdProgramContextPeriodBean", bean);

        return mapping.findForward("addPhdProgramPeriod");
View Full Code Here


    public ActionForward addPhdProgramPeriod(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        try {
            PhdProgram phdProgram = getDomainObject(request, "phdProgramId");
            PhdProgramContextPeriodBean bean = getRenderedObject("phdProgramContextPeriodBean");
            phdProgram.create(bean);

        } catch (PhdDomainOperationException e) {
            addErrorMessage(request, e.getKey(), e.getArgs());
            return addPhdProgramPeriodInvalid(mapping, form, request, response);
View Full Code Here

    }

    public ActionForward addPhdProgramPeriodInvalid(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdProgram phdProgram = getDomainObject(request, "phdProgramId");
        PhdProgramContextPeriodBean bean = getRenderedObject("phdProgramContextPeriodBean");

        request.setAttribute("phdProgram", phdProgram);
        request.setAttribute("phdProgramContextPeriodBean", bean);

        return mapping.findForward("addPhdProgramPeriod");
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.PhdProgramContextPeriodBean

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.