Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 71992 invoked from network); 27 Jul 2003 22:06:57 -0000 Received: from smtp-out6.blueyonder.co.uk (195.188.213.9) by daedalus.apache.org with SMTP; 27 Jul 2003 22:06:57 -0000 Received: from localhost ([80.194.24.21]) by smtp-out6.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Sun, 27 Jul 2003 23:07:08 +0100 Date: Sun, 27 Jul 2003 23:08:48 +0100 Subject: Re: LocaleBeanUtils - intended development direction? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: robert burrell donkin To: "Jakarta Commons Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <3F20FDBE.70408@cyberspaceroad.com> Message-Id: X-Mailer: Apple Mail (2.482) X-OriginalArrivalTime: 27 Jul 2003 22:07:08.0614 (UTC) FILETIME=[6C07BE60:01C3548B] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi adam the development direction of LocaleBeanUtils will probably depend on those developers who volunteer to take it forward. the history of this code is that developers have (sporadically) got involved and pushed the code forward then have moved on as soon as the code did what they needed it to. i can't speak for any other committers but this isn't a particular itch for myself at the moment so realistically it's not likely to become a priority for me unless some keen developers step up. if you've got some time and feel like contributing some code then i'd suggest that you join us on the commons-dev list (you'll need to set up some mail filters for the [beanutils] prefix since it's a high volume list) and we can all talk further about the actual design. you might like to browse http://jakarta.apache.org/site/getinvolved.html. - robert On Friday, July 25, 2003, at 10:51 AM, Adam Hardy wrote: > I have a website that is internationalized to use two different locales, > and I am using struts, so I use LocaleBeanUtils.copyProperties() to copy > my data into and out of the struts ActionForms, which has all string > properties. So basically I am doing date and float conversions to string. > > Currently I think I can only get copyProperties() to do the one type of > conversion, i.e. I can only use date formats 2003-04-25 and float formats > 123.45 - is that correct? > > If it's not correct, can someone tell me how to pass the current Locale > to LocaleBeanUtils? > > I think from looking through struts and commons list archives and the > Javadoc, that it isn't an option. > > There is a bug in Bugzilla that is related to this issue. > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16038 > but I am not sure whether it means at some point in the future > LocaleBeanUtils will do locale-sensitive conversions. And if it will, > since copyProperties() is a static method, doesn't it mean that it will > have to have the Locale passed to it each call as a param? > > > Thanks for the support, > Adam > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org >