Add a Validator to a Control
When the control is an input control, you can validate the input to ensure the user enters the correct information. When the input is not in the required form, you can send a message to the screen to prompt the user for the correct input. A control can have only one converter but multiple validators.
When a control that has at least one Converter or Validator is selected on the design canvas, a push pin
icon displays at the upper right corner. Icons representing the converter or validators are also displayed.
To add converters or validators to a control
1. In the UI Development perspective, in an opened Composite Application Framework application, drag a view to the canvas to update.
2. In the design canvas, select the input control to update with validator.
3. In the Palette view, expand CAF Core > Validator, and select a validator.
4. Drag the validator to the control in the design canvas.
5. In the Properties view click the Validation tab, update the properties for the validator.