validatorDataTableMsgKey

The validatorDataTableMsgKey property (formerly the validatorTableMsgKey property) identifies the message that is displayed if the user provides data that does not match the requirements of the validator table, which is the table specified in the validatorDataTable property.

The message table (the table that contains the message) is identified in the msgTablePrefix program property. For details on the message table name, see "DataTable part."

The value of validatorDataTableMsgKey is a string or literal that matches an entry of the first column in the message table.

If a numeric key is used with a message table that expects a character key, the number is converted to a character string. If a string literal is used with a message table that expects a numeric key, the value in the string must be a signed or unsigned integer.

Compatibility

Table 1. Support for validatorDataTableMsgKey property
Data item JSF handler VGUI record Console UI Text Form Java™ Text Form COBOL Print Form Java Print Form COBOL
Yes Yes* Yes* No Yes Yes No No

* The following additional compatibility considerations apply:

Table 2. Compatibility considerations for validatorDataTableMsgKey
Platform Issue
JSF handlers The value of validatorDataTableMsgKey is a string or literal that matches an entry in the resource bundle.
VGUI records, Text UI The value of validatorDataTableMsgKey is a string or literal that matches an entry in the first column of the message table identified in the msgTablePrefix program property. A message table is a data table that contains messages; for more information see "DataTable part." If a numeric key is used with a message table that expects a character key, the number is converted to a character string. If a string literal is used with a message table that expects a numeric key, the value in the string must be a signed or unsigned integer.

Feedback