<sas:HexColorStringValidator>

Generates a validator that validates a String value according to a hexidecimal color format.

Syntax

<sas:HexColorStringValidator
   [clearErrorsFunctionName="java.lang.String"]
   [errorHandlerFunctionName="java.lang.String"]
   [errorMessage="java.lang.String"]
   [id="value"]
   [instantiate="true|false"]
   [ref="java.lang.String"]
   [sasColorsOnly="true|false"]
   [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.
refThe variable String value that represents an object created earlier in the same scope.
sasColorsOnlyTRUE to validate SAS hexidecimal colors only.
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.HexColorStringValidator.

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