return confirmEmail(mapping, form, request, response);
}
public ActionForward requestRecommendation(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) {
final GenericApplicationRecommendationBean recommendationBean = getRenderedObject("recommendationBean");
final GenericApplication application = getDomainObject(request, "applicationExternalId");
final String confirmationCode = (String) getFromRequest(request, "confirmationCode");
if (application != null && confirmationCode != null && application.getConfirmationCode() != null
&& application.getConfirmationCode().equals(confirmationCode)) {
recommendationBean.requestRecommendation(application);
RenderUtils.invalidateViewState();
return confirmEmail(mapping, form, request, response);
}
request.setAttribute("invalidOrIncorrectConfirmationCode", Boolean.TRUE);
return listApplicationPeriods(mapping, form, request, response);