Required field message on <af:selectonechoice> component incorrect
------------------------------------------------------------------

                 Key: TRINIDAD-1941
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1941
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 2.0.0.3-core
         Environment: Linux x86
            Reporter: Kentaro Kinebuchi
            Priority: Trivial


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>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to