Implementing validators for EJ Viewer

To implement validators for EJ Viewer, do the following:
  1. Copy the QueryConditionAmountValidator.java from <toolkit_root>\samples\BTTJumpStartSampleRCPClient.zip\ BTTJumpStartSampleRCPClient/src/com/ibm/btt/jumpstart/sample/validator to the com.ibm.btt.jumpstart.sample.validator package of BTTJumpStartSampleRCPClient Project.
    1. The validator is called when the teller input any word to Amount field in EJ Viewer panel.
    2. The validator is used to check that the teller’s input is validated or not.
  2. Copy the QueryConditionDateValidator.java from <toolkit_root>\samples\BTTJumpStartSampleRCPClient.zip\ BTTJumpStartSampleRCPClient/src/com/ibm/btt/jumpstart/sample/validator to com.ibm.btt.jumpstart.sample.validator package of BTTJumpStartSampleRCPClient Project.
    • The validator is called when the teller input any word to Date field in EJ Viewer panel.
    • The validator is used to check that the teller’s input is validated or not.