Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 66720 invoked from network); 15 Sep 2005 11:24:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2005 11:24:30 -0000 Received: (qmail 49796 invoked by uid 500); 15 Sep 2005 11:24:26 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 49430 invoked by uid 500); 15 Sep 2005 11:24:24 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 49417 invoked by uid 99); 15 Sep 2005 11:24:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 04:24:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mattom@gmx.at designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Sep 2005 04:24:34 -0700 Received: (qmail invoked by alias); 15 Sep 2005 11:24:21 -0000 Received: from mail.aim-ag.com (EHLO [10.0.1.8]) [193.154.31.84] by mail.gmx.net (mp018) with SMTP; 15 Sep 2005 13:24:21 +0200 X-Authenticated: #7708740 Message-ID: <432959EC.8010202@gmx.at> Date: Thu, 15 Sep 2005 13:24:28 +0200 From: Thomas Lutz User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: i18n, date & binding framework. References: <43294F80.1080108@zorel.org> In-Reply-To: <43294F80.1080108@zorel.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What exactly does not work ? I had problems with forms, dates and i18n, too. With some debugging I figured out that the form engine took the hosts locale as default, so no matter which locale I set in the browser, the date formatter always took the hosts locale, so setting the locale for the form instance with the user agents locale in flow (javaflow in my case) did the job in my application. regards, tom Aur�lien DEHAY wrote: >Hi all. > >I'm trying to i18n the date in a form. I've got no problem for >displaying the i18nized date, but I wonder how I could, when the client >edit the form, display him a correct date. > >I've got: > > > MM/dd/yyyy > dd-MM-yyyy > > > >in my form_definition.xml file and > > > MM/dd/yyyy > > > >in my form_binding.xml file, but the behaviour is really strange. I >think I've missed something. > >Can someome give me the trick? Regards. > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org