What if you have entity level validation rule and want to attach validation error message to specific field. By default this is not possible – all entity level validation error messages are displayed in the popup and are not attached to the fields (differently than attribute level validation rule messages).
Apparently there is a way to achieve such requirement with Groovy expression, this can be executed from entity level validation – adf.error.addAttribute(‘Salary’). In addAttribute you need to provide attribute name which will be assigned with the error. Complete expression for entity validator:
Result displayed on UI – validation error message is assigned to the field, which was changed: Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.