private FacesMessage _getNotInRangeMessage( FacesContext context, UIComponent component, Object value, Object min, Object max) { Object msg = _getRawNotInRangeMessageDetail(); Object label = ValidatorUtils.getComponentLabel(component); Object[] params = {label, value, min, max}; return MessageFactory.getMessage(context, NOT_IN_RANGE_MESSAGE_ID, msg, params, component); }
private FacesMessage _getMinimumMessage( FacesContext context, UIComponent component, Object value, Object min) { Object msg = _getRawMinimumMessageDetail(); Object label = ValidatorUtils.getComponentLabel(component); Object[] params = {label, value, min}; return MessageFactory.getMessage(context, MINIMUM_MESSAGE_ID, msg, params, component); }
private FacesMessage _getNotCorrectType(FacesContext context) { return MessageFactory.getMessage(context, CONVERT_MESSAGE_ID); }