how the value of the LastName attribute as all uppercase?

You have written a Groovy validation expression for the Employees entity object. How would you customize the
error message to show the value of the LastName attribute as all uppercase? (Choose the best answer.)

You have written a Groovy validation expression for the Employees entity object. How would you customize the
error message to show the value of the LastName attribute as all uppercase? (Choose the best answer.)

A.
Add a token to the validation error message and define the token value as LastName.toUpperCase().

B.
Add a token to the validation error message and define the token value as
adf.object.hints.toUpperCase.

C.
Add a token to the validation error message and define the token value as
adf.object.hints.value.toUpperCase.

D.
Manually change the error string in the ModelBundle.properties file to be uppercase.

E.
Insert adf.error.raise (“< your error message>” + LastName.toUpperCase()) into the
validation code as part of the failure processing.



Leave a Reply 0

Your email address will not be published. Required fields are marked *