Examples of PhdCandidacyFeedbackRequestElementBean


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

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

    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

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

            return new DomainObjectKeyArrayConverter();
        }

        @Override
        public Object provide(Object source, Object currentValue) {
            final PhdCandidacyFeedbackRequestElementBean bean = (PhdCandidacyFeedbackRequestElementBean) source;
            return bean.getExistingParticipants();
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.