c:validation

<c:validation
  required-message? = string
  min-length-message? = string
  max-length-message? = string
  pattern-message? = string
  range-message? = string
  equal-to-message? = string
  validation-resource-type? = type_name
  a:file-extensions-message? = string
  a:file-max-length-message? = string />

Defines default values for validation messages.

Category
declaration
Permitted parent elements
c:module
c:package

Attributes

equal-to-message An error message for the equal-to attribute.
max-length-message An error message for the max-length attribute.
min-length-message An error message for the min-length attribute.
pattern-message An error message for the pattern attribute.
range-message An error message for the min and max attributes.
required-message An error message for the required attribute.
validation-resource-type A type that contains error message resources for validation attributes.
a:file-extensions-message An error message for the a:file-extensions attribute.
a:file-max-length-message An error message for the a:file-max-length attribute.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

See Also