[hibernate-issues] [Hibernate-JIRA] Commented: (HV-358) Create a pluggable MessageInterpolator which can interploate ${value}

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Oct 18 10:06:48 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38783#action_38783 ] 

Hardy Ferentschik commented on HV-358:
--------------------------------------

Of course this cannot be default behavior, because as you say {{value.toString}} is not well defined. On the other hand in some situations you "know" what you are validating. A good example would be the validation of forms in web application (often just strings). If you in this case can actually display the failing value and say for example "The email foo$bar.de is invalid" you can provide valuable information to the user. This issue originates form several posts on the forum where this feature was requested. 

> Create a pluggable MessageInterpolator which can interploate ${value}
> ---------------------------------------------------------------------
>
>                 Key: HV-358
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-358
>             Project: Hibernate Validator
>          Issue Type: New Feature
>          Components: engine
>    Affects Versions: 4.1.0.Final
>            Reporter: Hardy Ferentschik
>            Assignee: Kevin Pollet
>             Fix For: 4.2.0
>
>


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

        


More information about the hibernate-issues mailing list