Legacy platform

Defining user interface validation

The application validates the data that is entered in the user interface. In the user interface, the validation completely works on the basis of data type mapping of an input widget.

In the application, regular expressions for the data types are defined in the wsc_datatypeValidationRules.xml file. This XML file is located in the <INSTALL_DIR>\repository\eardata\wsc\war\WEB-INF\datatypevalidationrules\ directory. For user interface validation, the following context parameters are added in the wsc_datatypeValidationRules.xml file to load the validation rules and regular expressions:
Note: User interface widget validations are disabled in the development mode.