public VisitResult visit(VisitContext context, UIComponent target) { if (_phaseId == PhaseId.APPLY_REQUEST_VALUES) { target.processDecodes(_facesContext); } else if (_phaseId == PhaseId.PROCESS_VALIDATIONS) { target.processValidators(_facesContext); } else if (_phaseId == PhaseId.UPDATE_MODEL_VALUES) { target.processUpdates(_facesContext); } else if (_phaseId == PhaseId.RENDER_RESPONSE) { processRenderComponent(target); } else { throw new IllegalStateException("PPR Response, illegale phase called"); } // Return VisitResult.REJECT as processDecodes/Validators/Updates already traverse sub tree return VisitResult.REJECT; }
public VisitResult visit(VisitContext context, UIComponent target) { if (_phaseId == PhaseId.APPLY_REQUEST_VALUES) { target.processDecodes(_facesContext); } else if (_phaseId == PhaseId.PROCESS_VALIDATIONS) { target.processValidators(_facesContext); } else if (_phaseId == PhaseId.UPDATE_MODEL_VALUES) { target.processUpdates(_facesContext); } else if (_phaseId == PhaseId.RENDER_RESPONSE) { processRenderComponent(target); } else { throw new IllegalStateException("PPR Response, illegale phase called"); } // Return VisitResult.REJECT as processDecodes/Validators/Updates already traverse sub tree return VisitResult.REJECT; }
@Override public VisitResult visit(VisitContext context, UIComponent target) { if (_phaseId == PhaseId.APPLY_REQUEST_VALUES) { target.processDecodes(_facesContext); } else if (_phaseId == PhaseId.PROCESS_VALIDATIONS) { target.processValidators(_facesContext); } else if (_phaseId == PhaseId.UPDATE_MODEL_VALUES) { target.processUpdates(_facesContext); } else if (_phaseId == PhaseId.RENDER_RESPONSE) { processRenderComponent(target); } else { throw new IllegalStateException("PPR Response, illegale phase called"); } // Return VisitResult.REJECT as processDecodes/Validators/Updates already traverse sub tree return VisitResult.REJECT; }