]
Emmanuel Bernard commented on HV-238:
-------------------------------------
should be one of the org.hibernate.validator.engine.ValidatorConfiguration type-safe
properties (weird name it should be renamed)
Introduce a ResourceBundleLocatorStrategy interface which allows the
ResourceBundleMessageInterpolator to delegate the loading of the resource bundle
-----------------------------------------------------------------------------------------------------------------------------------------------------
Key: HV-238
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-238
Project: Hibernate Validator
Issue Type: New Feature
Components: engine
Affects Versions: 4.0.0.CR1
Reporter: Hardy Ferentschik
Fix For: 4.0.0.GA
Subject: Re: Bean validation dans Spring
Hi Emmanuel,
thanx for your feedback. I'm answering in English so I can cc Juergen.
So far, we have provided our own implementation of MessageInterpolator as you have
suggested. The thing is that it forces us to copy and paste a big piece of code which is
not ideal on the long term.
Juergen was suggesting a few possible minor enhancements on Hibernate Validator, that
would allow us to plug in a custom ResourceBundle:
- Either making the existing getFileBasedResourceBundle(Locale) method protected instead
of private.
- Or introducing a corresponding strategy interface that
ResourceBundleMessageInterpolator can be constructed with
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: