]
Hardy Ferentschik reassigned HV-403:
------------------------------------
Assignee: Hardy Ferentschik
Create a ValueMessageInterpolator based on java.text.Format instead
of the scripting engine
-------------------------------------------------------------------------------------------
Key: HV-403
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-403
Project: Hibernate Validator
Issue Type: Bug
Components: engine
Affects Versions: 4.1.0.Final
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
Fix For: 4.2.0.Beta1
Gunnar's suggestion on this
{quote}
Did you also consider an approach based on java.text.Format et al. or String#format()? I
could imagine something like ${validatedValue:FORMATTER:FORMAT} where FORMATTER is the
name of a java.text.Formatter derivation and FORMAT a format string understood by this
formatter, for instance like this:
org.hibernate.validator.constraints.Past.message=${validatedValue:java.text.SimpleDateFormat:yyyy-MM-dd}
is not in the past
{quote}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: