return prepareUploadDocuments(mapping, form, request, response);
}
public ActionForward removeDocument(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) {
final PhdProgramProcessDocument document = getDomainObject(request, "documentId");
final PhdProgramCandidacyProcess process = (PhdProgramCandidacyProcess) document.getPhdProgramProcess();
final PhdProgramCandidacyProcessBean bean = new PhdProgramCandidacyProcessBean(process);
try {
ExecuteProcessActivity.run(process,
org.fenixedu.academic.domain.phd.candidacy.activities.RemoveCandidacyDocument.class, document);
addSuccessMessage(request, "message.documents.uploaded.with.success");