The standard validation in ADF application is done by setting the attribute required. The disadvantage of this functionality, is that the validation is to early and not validating when a form is filled in. To do this we need to customize the validating of our application.
We can do this by validating the value in the Impl class of the Entity you use in the page.
1. Replace the required=”true” attribute on the input component into a showRequired=”true”, this can by jheadstart template or manually.
2. Open the Impl class and override the validateEntity() method
protected void validateEntity() {
} (meer…)