Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 55984 invoked from network); 29 Aug 2005 14:02:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2005 14:02:12 -0000 Received: (qmail 75910 invoked by uid 500); 29 Aug 2005 14:02:06 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 75869 invoked by uid 500); 29 Aug 2005 14:02:06 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 75856 invoked by uid 99); 29 Aug 2005 14:02:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 07:02:06 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.45.41.90] (HELO SAINET03.dtcc.com) (207.45.41.90) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 07:02:22 -0700 In-Reply-To: <88bc15c505082906375cdacd4d@mail.gmail.com> To: "Jakarta Commons Users List" Subject: Re: [Validator] Decimal point and date MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 Message-ID: From: Aaron Sheffey Date: Mon, 29 Aug 2005 10:02:01 -0400 X-MIMETrack: Serialize by Router on NAINET01/DTCC at 08/29/2005 10:06:04 AM, Serialize complete at 08/29/2005 10:06:04 AM Content-Type: multipart/alternative; boundary="=_alternative 004D176C8525706C_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 004D176C8525706C_= Content-Type: text/plain; charset="US-ASCII" Please reply with the JavaScript that is generated to validate on the client. Angelo Luis 08/29/2005 09:37 AM Please respond to "Jakarta Commons Users List" To Jakarta Commons Users List cc Subject Re: [Validator] Decimal point and date Yes, i am saying that (sorry if my english is confuse)... With this: datePatternStrict dd/MM/yy When i type 19/05/05 the java script validation say that is a wrong date, but if i turn off the java script the server side validation accept the date... On 8/29/05, Aaron Sheffey wrote: > > I'm a little confused. Are you saying that with the second format, the > Validator client-side JavaScript validation fails and the server-side > validation works? > > > > > Angelo Luis > 08/29/2005 09:27 AM > Please respond to > "Jakarta Commons Users List" > > > To > commons-user@jakarta.apache.org > cc > > Subject > [Validator] Decimal point and date > > > > > > > In my form this is work well: > > > > > datePatternStrict > dd/MM/yyyy > > > > but, when i change to this: > > > > > > datePatternStrict > dd/MM/yy > > > > The validation don't work anymore... I type 19/09/05 he give me a wrong > date... I turn off the JavaScript in my browser and the server-side > validation work well, only the JavaScript validation give the wrong date > anwser!!! > > The seond thing about validation is the decimal point separator!!! Both > server and client validation don't work with me!!! > That is what i do... > > In my jsp page: > > In my struts-config.xml > > In my validations.xml > > > Am i forget something?? > > > --=_alternative 004D176C8525706C_=--