You can create logic to validate data that users input to textField and passwordField components on the client user interface. Nexaweb calls this logic validators.
You can add validators to UI components in a Nexaweb Java application project only. Nexaweb Studio automatically creates Nexaweb Java application projects with the Nexaweb Data Validator facet; this facet must be part of a Nexaweb Java application project in order to use Nexaweb data validators. If necessary, to add the Nexaweb Data Validator facet to an existing project, see Adding Nexaweb Support.
With the Nexaweb Data Validator facet associated with a Nexaweb Java application project, you can use the Nexaweb Validator perspective to access and manage validators.
Nexaweb provides a number of defined validator classes to perform routine types of validations. To use these, you select which validator type to create and then specify values for its attributes. You can also define your own validator types by extending the validator class.
The process of using validators requires the following major steps:
Creating Validators
Assigning Validators to UI Components