From adffaces-issues-return-1966-apmail-incubator-adffaces-issues-archive=incubator.apache.org@incubator.apache.org Fri Mar 16 08:13:37 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-issues-archive@locus.apache.org Received: (qmail 27524 invoked from network); 16 Mar 2007 08:13:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 08:13:36 -0000 Received: (qmail 76796 invoked by uid 500); 16 Mar 2007 08:13:40 -0000 Delivered-To: apmail-incubator-adffaces-issues-archive@incubator.apache.org Received: (qmail 76770 invoked by uid 500); 16 Mar 2007 08:13:40 -0000 Mailing-List: contact adffaces-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-issues@incubator.apache.org Delivered-To: mailing list adffaces-issues@incubator.apache.org Received: (qmail 76626 invoked by uid 99); 16 Mar 2007 08:13:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 01:13:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 01:13:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D455371408B for ; Fri, 16 Mar 2007 01:13:10 -0700 (PDT) Message-ID: <13899812.1174032790867.JavaMail.jira@brutus> Date: Fri, 16 Mar 2007 01:13:10 -0700 (PDT) From: =?utf-8?Q?Matthias_We=C3=9Fendorf_=28JIRA=29?= To: adffaces-issues@incubator.apache.org Subject: [jira] Updated: (ADFFACES-301) dateTimeRangeValidator: client side error messages don't match server side error messages, need converter In-Reply-To: <22120644.1164155642205.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ADFFACES-301?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias We=C3=9Fendorf updated ADFFACES-301: ---------------------------------------- Fix Version/s: 1.0.0-incubating-core Affects Version/s: 1.0.0-incubating-core > dateTimeRangeValidator: client side error messages don't match server sid= e error messages, need converter > -------------------------------------------------------------------------= -------------------------------- > > Key: ADFFACES-301 > URL: https://issues.apache.org/jira/browse/ADFFACES-301 > Project: MyFaces ADF-Faces > Issue Type: Bug > Affects Versions: 1.0.0-incubating-core > Reporter: Gabrielle Crawford > Assigned To: Matthias We=C3=9Fendorf > Priority: Minor > Fix For: 1.0.0-incubating-core > > > The client side validator for dateTimeRangeValidator is not formatting th= e error message values correctly. > In a field with a date that looks like "11/21/2008"=20 > - server error message: "The date entered, "11/21/2008", is not within th= e range of valid dates 1/1/2006 and 12/31/2007." > - client error message: "The date entered, "Fri Nov 21 2008 16:00:00 GMT= -0800 (Pacific Standard Time)", is not within the range of valid dates Sun = Jan 01 2006 00:00:00 GMT-0800 (Pacific Standard Time) and Mon Dec 31 2007 0= 0:00:00 GMT-0800 (Pacific Standard Time)." > Basically in order to give the correct validation message you need the co= nverter. If the client side api's for validator don't support a way to a ac= cess the converter we will probably need to pass the converter as a param t= o the validate method. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.