commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <>
Subject [jira] Updated: (VALIDATOR-128) [validator] Ability to set a default Locale on the ValidatorResources
Date Wed, 19 Jul 2006 13:22:26 GMT
     [ ]

Niall Pemberton updated VALIDATOR-128:

    Component/s: Framework

> [validator] Ability to set a default Locale on the ValidatorResources
> ---------------------------------------------------------------------
>                 Key: VALIDATOR-128
>                 URL:
>             Project: Commons Validator
>          Issue Type: Improvement
>          Components: Framework
>         Environment: Operating System: Windows 2000
> Platform: PC
>            Reporter: Jian Jiang
>            Priority: Minor
> ValidatorResources's getForm(() method will fall back to its static 
> field 'defaultLocale' when no Locale information is specified. This 
> defaultLocale is essentially Locale.getDefault() call. In our app, we need to 
> support two business cases where in one we want en_US as the default but in the 
> other we want en_UK as the default. We want to be able to set the default 
> locale on the ValidatorResources created for these two business cases. If there 
> is a getDefaultLocale() method on the ValidatorResources that can return the 
> static default Locale object only when the instance default object is not set. 
> Then existing behavior will be kept where the client is also given a chance to 
> set the default as needed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message