return mapping.findForward("prepare-edit-candidacy-documents");
}
public ActionForward uploadDocument(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response) throws FenixServiceException, IOException {
CandidacyProcessDocumentUploadBean uploadBean =
(CandidacyProcessDocumentUploadBean) getObjectFromViewState("individualCandidacyProcessBean.document");
try {
IndividualCandidacyDocumentFile documentFile =
createIndividualCandidacyDocumentFile(uploadBean, uploadBean.getIndividualCandidacyProcess()
.getPersonalDetails().getDocumentIdNumber());
uploadBean.setDocumentFile(documentFile);
executeActivity(getProcess(request), "EditDocuments", uploadBean);
} catch (DomainException e) {
addActionMessage(request, e.getMessage(), e.getArgs());
}