DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24941

LocaleBeanUtils.populate() doesn't accept localized input map





------- Additional Comments From [EMAIL PROTECTED]  2004-01-16 16:00 -------
As I mentionned in the related Struts bug (bug #24856), I feel like Stutz
proposed patch is not thread safe, which is quite an issue when using
LocaleBeanUtils in combination with Struts.

Let say we have two users on the server, there is simple thread issues:
- user A: LocaleBeanUtils.setDefaultLocale(localeA);
- user B: LocaleBeanUtils.setDefaultLocale(localeB);
- user A: LocaleBeanUtils.populate(beanA, propertiesA); //converts using localeB

So I feel the change should be more like making a new populate method with a
different signature:
LocaleBeanUtils.populate(Object bean, Map properties, Locale locale) {...}

This being said, I am impressed by the amount of work you already dedicated to
this issue.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to