Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
The invalidation framework in the CMS has unparameterized violation messages like "A required field is not present" and "A string value is empty". Having the field's title in that message will improve user experience.
On investigation I found
- the object org.hippoecm.frontend.validation.Violation supports parameters to format messages in the UI but such parameters are never provided
- AFAIK getting to the internationalized field name is not easy. From the validator we can get to the FieldDescriptor but I don't know how you can get from there to the caption/translator.id of the field/property plugin
Attachments
Issue Links
- relates to
-
CMS-6943 Dutch date format validation error in document editor displays wicket component id instead of field name
- Closed