commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39477] - [beanutils] StringLocaleConverter uses same pattern for numbers and dates
Date Thu, 11 May 2006 04:40:46 GMT
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=39477>.
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=39477





------- Additional Comments From bkrodgers@bigfoot.com  2006-05-11 04:40 -------
The problem is that if your target is String, which is a sort of catch-all
target, you may have both numbers and dates that need to be converted to a
String.  I think the primary use case that was envisioned for BeanUtils was to
copy *from* Strings *to* specific types.  However, I've found it quite common
that I want to prepopulate an ActionForm from a business object, which means I'm
copying all the various specific types to Strings.  If there are numbers and
dates, they'll need different formats.

I'll work on putting a junit test together for it -- may not get to it until
this weekend.  

Thanks!

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message