Package org.fenixedu.academic.domain.phd.candidacy.feedbackRequest

Examples of org.fenixedu.academic.domain.phd.candidacy.feedbackRequest.PhdCandidacyFeedbackRequestElementBean


     */

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

        final PhdCandidacyFeedbackRequestElementBean bean = new PhdCandidacyFeedbackRequestElementBean(getProcess(request));
        bean.updateWithExistingPhdParticipants();
        setDefaultMailInformation(bean);

        request.setAttribute("elementBean", bean);
        return manageFeedbackRequest(mapping, actionForm, request, response);
    }
View Full Code Here


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

        try {

            final PhdCandidacyFeedbackRequestElementBean bean = getRenderedObject("elementBean");

            if (bean.isExistingElement() && !bean.hasAnyParticipants()) {
                addErrorMessage(request, "label.phd.candidacy.feedback.must.select.elements");
                return addCandidacyFeedbackRequestElementInvalid(mapping, actionForm, request, response);
            }

            ExecuteProcessActivity.run(getProcess(request).getFeedbackRequest(), AddPhdCandidacyFeedbackRequestElements.class,
View Full Code Here

            return new DomainObjectKeyArrayConverter();
        }

        @Override
        public Object provide(Object source, Object currentValue) {
            final PhdCandidacyFeedbackRequestElementBean bean = (PhdCandidacyFeedbackRequestElementBean) source;
            return bean.getExistingParticipants();
        }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.candidacy.feedbackRequest.PhdCandidacyFeedbackRequestElementBean

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.