FormDef can help you with this. https://formdef.dev.java.net. There's a locale.war sample app download which can work with different locales. It doesn't have support for BigDecimals, though (not yet, anyway). 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.
Hubert On Fri, 3 Dec 2004 09:49:52 -0000, Simon Matic Langford <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]