if(!candidacy.getActiveCandidacySituation().canCandidacyDataBeValidated()){ addActionMessage(request, "error.candidacy.data.not.filled", null); return prepareValidateCandidacyData(mapping, actionForm, request, response); }
    public ActionForward showCandidacyValidateData(ActionMapping mapping,            ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws FenixServiceException, FenixFilterException{        DynaActionForm form = (DynaActionForm) actionForm;        Integer candidacyNumber = (Integer) form.get("candidacyNumber");        Candidacy candidacy = Candidacy.readByCandidacyNumber(candidacyNumber);        if(candidacy == null){            addActionMessage(request, "error.no.candidacy", candidacyNumber.toString());            return prepareValidateCandidacyData(mapping, actionForm, request, response);        }        if(!candidacy.getActiveCandidacySituation().canCandidacyDataBeValidated()){            addActionMessage(request, "error.candidacy.data.not.filled", null);            return prepareValidateCandidacyData(mapping, actionForm, request, response);        }                 request.setAttribute("candidacy", candidacy);        return mapping.findForward("showCandidacyValidateData");            }