You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Kentaro Kinebuchi (JIRA)" <de...@myfaces.apache.org> on 2010/10/15 01:45:34 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 ]
Kentaro Kinebuchi updated TRINIDAD-1941:
----------------------------------------
Status: Patch Available (was: Open)
> 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.