[hibernate-issues] [Hibernate-JIRA] Updated: (HV-251) ResourceMessageInterpolater - allow create with map of user resource bundles
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Fri Mar 19 19:21:32 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hardy Ferentschik updated HV-251:
---------------------------------
Assignee: Gunnar Morling
> ResourceMessageInterpolater - allow create with map of user resource bundles
> -----------------------------------------------------------------------------
>
> Key: HV-251
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-251
> Project: Hibernate Validator
> Issue Type: Improvement
> Components: engine
> Affects Versions: 4.0.0.GA
> Reporter: saki
> Assignee: Gunnar Morling
> Priority: Minor
> Fix For: 4.1.0-Beta-1
>
>
> Allow user to supply to message interpolator constructor map of resource bundles.
> Use case: supply resource bundles loaded from XML
> public ResourceBundleMessageInterpolator(Map<Locale, ResourceBundle> userSuppliedBundlesMap) {
> defaultLocale = Locale.getDefault();
> this.userBundlesMap.putAll(userSuppliedBundlesMap);
> defaultBundlesMap.put( defaultLocale, ResourceBundle.getBundle( DEFAULT_VALIDATION_MESSAGES, defaultLocale ) );
--
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