When Wicket applications use Wicket built-in validators for form-entry fields, Wicket
references a set of implicit resource text strings that are related to the field name being
validated and the validation type.
SAP recommends that you use explicit text strings, rather than using the implicit Wicket
validation text strings. Using explicit text strings ensures that:
- All text strings can be translated for localization.
- Text strings are user-friendly.
The following example shows a user-friendly validation message, which Wicket uses when
the pattern validation fails for
amountString:
<properties>
...
<entry key = "amountString.PatternValidator"> ’\ ${input}’ is not a valid Amount </entry>
</properties>