DFACandidacyBean candidacyBean = (DFACandidacyBean) RenderUtils.getViewState().getMetaObject().getObject(); candidacyBean.setExecutionDegree(null);
DFACandidacyBean candidacyBean = (DFACandidacyBean) RenderUtils.getViewState().getMetaObject() .getObject();  ExecutionDegree executionDegree = null; if (candidacyBean.getDegreeCurricularPlan() != null) { executionDegree = Collections.min(candidacyBean.getDegreeCurricularPlan() .getExecutionDegrees(), ExecutionDegree.EXECUTION_DEGREE_COMPARATORY_BY_YEAR); }  candidacyBean.setExecutionDegree(executionDegree);
    public ActionForward chooseDegreeCurricularPlanPostBack(ActionMapping mapping,            ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) {                DFACandidacyBean candidacyBean = (DFACandidacyBean) RenderUtils.getViewState().getMetaObject().getObject();        candidacyBean.setExecutionDegree(null);        RenderUtils.invalidateViewState();        request.setAttribute("candidacyBean", candidacyBean);                return mapping.getInputForward();    }