<sas:MinMaxValueCompositeValidator>
A MinMaxValueCompositeValidator is a validator that validates (1) the value is present, (2) that the value is numeric, (3) that the value does not exceed the maximum value specified, and (4) the value is not less than the minimum value specified.
Syntax
<sas:MinMaxValueCompositeValidator
[id="value"]
[instantiate="true|false"]
[maxValue="int"]
[minValue="int"]
[ref="java.lang.String"]
[scope="page|request|session|application"]>
[<sas:DateStringValidator .../>]
[<sas:HexColorStringValidator .../>]
[<sas:IntegerInputValidator .../>]
[<sas:MaximumLengthValidator .../>]
[<sas:MaximumValueValidator .../>]
[<sas:MinimumValueValidator .../>]
[<sas:NumericInputValidator .../>]
[<sas:RequiredStringValidator .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:SetProperty> tags...]
</sas:MinMaxValueCompositeValidator>
Attributes
id | Case-sensitive name used to identify the object instance. |
---|---|
instantiate | Flag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute. |
maxValue | the maximum value to use. |
minValue | the minimum value to use. |
ref | The variable String value that represents an object created earlier in the same scope. |
scope | The scope (or page context) within which the reference is available. |
More Information
To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.util.validators.MinMaxValueCompositeValidator.
If you need to subclass the tag handler class for the sas:MinMaxValueCompositeValidator tag, extend com.sas.taglib.servlet.tbeans.util.validators.MinMaxValueCompositeValidatorTag.