[ http://issues.apache.org/jira/browse/MYFACES-279?page=all ]

Alex Mayer updated MYFACES-279:
-------------------------------

    Attachment: Messages.properties
                Messages_de.properties
                Messages_en.properties

RegExprValidator message now shows the value of the pattern-attribute

> RegExprValidator Error-Message should show the pattern for better 
> understanding
> -------------------------------------------------------------------------------
>
>          Key: MYFACES-279
>          URL: http://issues.apache.org/jira/browse/MYFACES-279
>      Project: MyFaces
>         Type: Improvement
>     Reporter: Alex Mayer
>     Priority: Minor
>  Attachments: Messages.properties, Messages_de.properties, 
> Messages_en.properties, RegExprValidator.java
>
> To my mind it would be better, if the regExprValidator's ErrorMessage would 
> show a text like this:
> The submitted value ({0}) doesn't fit the pattern "{1}". 
> Because this gives the user and the developer a more detailed information 
> than "the given value ({0}) is not valid". Here the user/ developer has no 
> information what might be the correct input.
> However, I changed the code of RegExprValidator and the german, english and 
> standard message properties so that the pattern is shown in the error-message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to