Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 45437 invoked from network); 15 Oct 2006 04:09:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Oct 2006 04:09:29 -0000 Received: (qmail 54387 invoked by uid 500); 15 Oct 2006 04:09:25 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 54309 invoked by uid 500); 15 Oct 2006 04:09:25 -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 54298 invoked by uid 99); 15 Oct 2006 04:09:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 21:09:25 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.38.228] (HELO web51710.mail.yahoo.com) (206.190.38.228) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 14 Oct 2006 21:09:23 -0700 Received: (qmail 79981 invoked by uid 60001); 15 Oct 2006 04:09:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gKAh6dKAX0FFADckstCvDWTNTjJ8x4a/cBMXj1HFiRx8kMjakt61FmICCjMUFMlIEdBt0Ul3SEVZFuS6EiV3C3hZMB/+QMu8q13FuRjE6mcRFxRS99DA8V0lqxe7YhorAqchPEvZfv9qnEhrtmUzIRNRCZ5aNR/SSM1RQqpzBDA= ; Message-ID: <20061015040902.79979.qmail@web51710.mail.yahoo.com> Received: from [220.247.253.152] by web51710.mail.yahoo.com via HTTP; Sat, 14 Oct 2006 21:09:02 PDT Date: Sat, 14 Oct 2006 21:09:02 -0700 (PDT) From: chamal desilva Subject: DateLocaleConverter and null values To: commons-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I used this code to register date conversion. String pattern = "dd/MM/yy"; locale = Locale.getDefault(); DateLocaleConverter converter = new DateLocaleConverter("",locale, pattern); converter.setLenient(true); ConvertUtils.register(converter, java.util.Date.class); But still beanutils gives this error " org.apache.commons.beanutils.ConversionException: No value specified" when it tries to convert a date which has null as value. So how should I handle this. Thanking You, Chamal. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org