DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33184>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33184 Summary: ability to set a default Locale on the ValidatorResources Product: Commons Version: unspecified Platform: PC OS/Version: Windows 2000 Status: NEW Severity: enhancement Priority: P2 Component: Validator AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] 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. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]