You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2007/05/22 22:51:16 UTC

[jira] Commented: (TRINIDAD-33) tr:lengthValidator: provide better error message when min==max

    [ https://issues.apache.org/jira/browse/TRINIDAD-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498004 ] 

Adam Winer commented on TRINIDAD-33:
------------------------------------

We have a new org.apache.myfaces.trinidad.validator.LengthValidator.EXACT message for this scenario, setMessageDetailExact() on LengthValidator, and a "messageDetailExact" property on tr:validateLength.

> tr:lengthValidator: provide better error message when min==max
> --------------------------------------------------------------
>
>                 Key: TRINIDAD-33
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-33
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Adam Winer
>         Assigned To: Adam Winer
>            Priority: Minor
>             Fix For: 1.0.1-core
>
>
> If the minimum and maximum are 5, it's better to say "the length must be 5 characters" than "the length must be between 5 and 5 characters"

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