<sas:MaximumValueValidator>

Generates a validator that validates the maximum value of the input.

Syntax

<sas:MaximumValueValidator
   [clearErrorsFunctionName="java.lang.String"]
   [errorHandlerFunctionName="java.lang.String"]
   [errorMessage="java.lang.String"]
   [id="value"]
   [instantiate="true|false"]
   [maxValue="int"]
   [ref="java.lang.String"]
   [scope="page|request|session|application"]
   [validationFunctionName="java.lang.String"] />

Attributes

clearErrorsFunctionNameThe clear errors function name
errorHandlerFunctionNameThe error handler function name
errorMessageThe validation error message
idCase-sensitive name used to identify the object instance.
instantiateFlag 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.
maxValuethe maximum value to use.
refThe variable String value that represents an object created earlier in the same scope.
scopeThe scope (or page context) within which the reference is available.
validationFunctionNameThe JavaScript validation function name

More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.util.validators.MaximumValueValidator.

If you need to subclass the tag handler class for the sas:MaximumValueValidator tag, extend com.sas.taglib.servlet.tbeans.util.validators.MaximumValueValidatorTag.