struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <>
Subject Re: i18n input
Date Fri, 03 Dec 2004 14:53:26 GMT
FormDef can help you with this. 
There's a locale.war sample app download which can work with different
locales.  It doesn't have support for BigDecimals, though (not yet,
For displaying them on the screen, experiment bean:write with
format/formatKey/locale attributes.  If you use FormDef to specify
format keys, you can use the same key for form input and display.


On Fri, 3 Dec 2004 09:49:52 -0000, Simon Matic Langford
<> wrote:
> Is there a general pattern for localised input, ie being able to enter
> numbers and dates formatted for Germany but getting them formatted for
> Java on the server side for constructing BigDecimals etc, aside from
> using utilities in the java.text package? What about for displaying back
> the other way?
> I saw a post about this a couple of weeks ago but there was not
> response...
> Thanks
> Simon
> The information contained in this e-mail is intended only for the person
> or
> entity to which it is addressed and may contain confidential and/or
> privileged material. If You are not the intended recipient of this
> e-mail,
> the use of this information or any disclosure, copying or distribution
> is
> Prohibited and may be unlawful. If you received this in error, please
> contact the sender and delete the material from any computer. The views
> expressed in this e-mail may not necessarily be the views of The PCMS
> Group
> plc and should not be taken as authority to carry out any instruction
> contained.

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

View raw message