Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 34127 invoked from network); 3 Dec 2004 14:54:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 14:54:01 -0000 Received: (qmail 7313 invoked by uid 500); 3 Dec 2004 14:53:30 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 7287 invoked by uid 500); 3 Dec 2004 14:53:30 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 7251 invoked by uid 99); 3 Dec 2004 14:53:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of hrabago@gmail.com designates 64.233.170.192 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.192) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 06:53:28 -0800 Received: by rproxy.gmail.com with SMTP id a41so119877rng for ; Fri, 03 Dec 2004 06:53:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=rp63fA1dWM2pzdMGOPaXX8FbjiLHqDwChrCRK6QwiFF0k2yFSD4Zcz+vg2oicXQm6goo/Lw2Q4s3X06GusjF+zNjf0Zx7C93usVjuw1UtZ3uKy0hl/dOtD9v5PDJFRghi1Q8Dwo87GaG/taO34CmB5CQrETnGZPY+qPwcidC4lE= Received: by 10.38.22.76 with SMTP id 76mr584347rnv; Fri, 03 Dec 2004 06:53:26 -0800 (PST) Received: by 10.38.72.52 with HTTP; Fri, 3 Dec 2004 06:53:26 -0800 (PST) Message-ID: <7b809eef04120306531c621517@mail.gmail.com> Date: Fri, 3 Dec 2004 08:53:26 -0600 From: Hubert Rabago Reply-To: Hubert Rabago To: Struts Users Mailing List Subject: Re: i18n input In-Reply-To: <022f01c4d91d$6fbf6630$0557555a@PCMSDEV011> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <022f01c4d91d$6fbf6630$0557555a@PCMSDEV011> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 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: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org