You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gabrielle Crawford (JIRA)" <de...@myfaces.apache.org> on 2010/11/19 19:02:15 UTC

[jira] Updated: (TRINIDAD-1941) Required field message on component incorrect

     [ https://issues.apache.org/jira/browse/TRINIDAD-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabrielle Crawford updated TRINIDAD-1941:
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0.4-core 
                    1.2.15-core 
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For:  1.2.15-core , 2.0.0.4-core 
>
>         Attachments: bug10117191.patch
>
>
> 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.