Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.0.0-beta-1
-
None
-
Linux x86
Description
If you have <af:selectOneChoice> that is marked as being required and the user doesn't enter any value, the message thrown is:
"A selection is required. You must make at least one selection.".
Instead the message should be:
"A selection is required. You must make a selection."
The difference is the "at least one" part of the message.
The fix is to update trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts with
<resource key="org.apache.myfaces.trinidad.UIXSelectOne.REQUIRED_detail">You must make a selection.</resource>