Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 56942 invoked from network); 31 Oct 2006 06:04:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2006 06:04:14 -0000 Received: (qmail 93794 invoked by uid 500); 31 Oct 2006 06:04:20 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 93763 invoked by uid 500); 31 Oct 2006 06:04:20 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 93740 invoked by uid 99); 31 Oct 2006 06:04:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 22:04:19 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [15.219.201.135] (HELO bgerelbas02.asiapac.hp.net) (15.219.201.135) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 22:04:04 -0800 Received: from bgeexg12.asiapacific.cpqcorp.net (bgeexg12.asiapacific.cpqcorp.net [16.150.33.62]) by bgerelbas02.asiapac.hp.net (Postfix) with ESMTP id 5B4CF32FC7 for ; Tue, 31 Oct 2006 11:33:40 +0530 (IST) Received: from BGEEXC07.asiapacific.cpqcorp.net ([16.150.33.19]) by bgeexg12.asiapacific.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 31 Oct 2006 11:33:39 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: inputDate with type="both" cannot be null Date: Tue, 31 Oct 2006 11:33:38 +0530 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: inputDate with type="both" cannot be null Thread-Index: Acb8OMmN1lXJ6YNDSfmyXdSoxyGLAgAeVeEg From: "Kumar, Abhilash (Gok)" To: "MyFaces Discussion" X-OriginalArrivalTime: 31 Oct 2006 06:03:39.0112 (UTC) FILETIME=[4F47C680:01C6FCB2] X-Virus-Checked: Checked by ClamAV on apache.org After debugging for a while, I feel that this is a bug. I have created an issue for this in JIRA with a suggested fix. https://issues.apache.org/jira/browse/TOMAHAWK-759 thanks and regards, -- Kannan. -----Original Message----- From: Kumar, Abhilash (Gok)=20 Sent: Monday, October 30, 2006 9:04 PM To: users@myfaces.apache.org Subject: inputDate with type=3D"both" cannot be null Hello: =20 I am using tomahawk-SNAPSHOT-1.1.5 with Myfaces 1.1.3. I have a t:inputDate with type=3D"both". The problem is that it = doesn't accept a null value. Even if the value for required is false by default (as per the tld doc), it always requires a value. I have tried explicitly giving required=3D"false", then also the behaviour is same. = It works fine for all other types (date,time,short_time and full).=20 The problem can be easily reproduced using the Date example in the examples webapp (tomahawk-SNAPSHOT-1.1.5 and myfaces-1.1.5-SNAPSHOT) by giving a null value for the last (i.e date and time) input and clicking on Update button. I also went thru Tomahawk JIRA and didn't see any issues related to this. Am I missing some thing or shall I file a issue in JIRA ? thanks and regards, -- Kannan.=20