/** * Return the minimum value to be enforced by this {@link Validator}, or null if it has not been * set. */ @JSFProperty @Override public double getMinimum() { Object minDouble = _facesBean.getProperty(_MINIMUM_KEY); if (minDouble == null) minDouble = _MINIMUM_KEY.getDefault(); return ComponentUtils.resolveDouble(minDouble); }
/** * Return custom hint notInRange message. * * @return Custom hint message. * @see #setHintNotInRange */ @JSFProperty(tagExcluded = true) public String getHintNotInRange() { Object obj = _facesBean.getProperty(_HINT_NOT_IN_RANGE); return ComponentUtils.resolveString(obj); }
/** * Return custom hint minimum message. * * @return Custom hint message. * @see #setHintMinimum(String) */ public String getHintMinimum() { Object obj = _facesBean.getProperty(_HINT_MINIMUM_KEY); return ComponentUtils.resolveString(obj); }
/** * Return custom hint maximum message. * * @return Custom hint message. * @see #setHintMaximum(String) */ @JSFProperty(tagExcluded = true) public String getHintMaximum() { Object obj = _facesBean.getProperty(_HINT_MAXIMUM_KEY); return ComponentUtils.resolveString(obj); }
/** * Return custom detail error message that was set for creating {@link FacesMessage}, for cases * where, input value exceeds the <code>maximum</code> value and is less than the <code>minimum * </code> value set. * * @return Custom error message. * @see #setMessageDetailNotInRange(String) */ @JSFProperty public String getMessageDetailNotInRange() { Object notInRngMsg = _facesBean.getProperty(_NOT_IN_RANGE_MESSAGE_DETAIL_KEY); return ComponentUtils.resolveString(notInRngMsg); }
/** * Return custom detail error message that was set for creating {@link FacesMessage}, for cases * where, input value is less than the <code>minimum</code> value set. * * @return Custom error message. * @see #setMessageDetailMinimum(String) */ @JSFProperty public String getMessageDetailMinimum() { Object minMsgDet = _facesBean.getProperty(_MINIMUM_MESSAGE_DETAIL_KEY); return ComponentUtils.resolveString(minMsgDet); }