Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 97201 invoked from network); 13 Nov 2010 23:58:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Nov 2010 23:58:27 -0000 Received: (qmail 87363 invoked by uid 500); 13 Nov 2010 23:58:59 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 87336 invoked by uid 500); 13 Nov 2010 23:58:58 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 87328 invoked by uid 99); 13 Nov 2010 23:58:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Nov 2010 23:58:58 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of riverocean1@gmail.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-iw0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Nov 2010 23:58:52 +0000 Received: by iwn39 with SMTP id 39so5133720iwn.13 for ; Sat, 13 Nov 2010 15:58:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=uXzAqHzsvfELPEIHdmHyLGTbIDv4awUOj3DjsofvFgk=; b=T86V0idenCnjVGwdpu1qU721ZZO9CS9RfGucpyoiV1YietwCcCoF+vmrsjJwyI84il u1kVpzXdfeVO6UJYUE2HiiJo5jRumW080is/CuxeUuC+fTcnTLrV2JcFJ662ko+SOogk LeJ1k4GEU2TOL/F2K4PFVn5nMe2a9/ch4A9Pk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=cg/yG80RBuMSyztq0aY4G3LlLQzCyLrv8Y/n4lbIE/HW6bv5u13IH9J5AVrHNUYoii 4lXyl+1k3mRpR7mganC8xxYah0F2ydsyo3lyfw0BdMSrDNzR6myVVnhaOdghm1b03k6v 93UCgUFh7TPEByOh5HFAzfGbgQBgQ54Wag1n8= MIME-Version: 1.0 Received: by 10.42.218.138 with SMTP id hq10mr3530089icb.290.1289692711256; Sat, 13 Nov 2010 15:58:31 -0800 (PST) Received: by 10.231.253.24 with HTTP; Sat, 13 Nov 2010 15:58:31 -0800 (PST) Date: Sat, 13 Nov 2010 18:58:31 -0500 Message-ID: Subject: Coercion between java.util.Date and org.apache.pivot.util.CalendarDate From: ocean ocean To: user@pivot.apache.org Content-Type: multipart/alternative; boundary=20cf3054a177ec84580494f7fbe0 --20cf3054a177ec84580494f7fbe0 Content-Type: text/plain; charset=ISO-8859-1 I'm trying to Component.store() a domain java bean that exposes several java.util.Date to a Form and getting coercion failures between java.util.Date and the pivot CalendarDate class. This seems to be a pretty reasonable coercion to make but the static BeanAdapter.coerce method doesn't take it into account and there doesn't seem to be a way to register my own coercion logic on either the individual Form or globally. Any ideas? I figure somebody else must've encountered this problem... --20cf3054a177ec84580494f7fbe0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm trying to Component.store() a domain java bean that exposes several= java.util.Date to a Form and getting coercion failures between java.util.D= ate and the pivot CalendarDate class. This seems to be a pretty reasonable = coercion to make but the static BeanAdapter.coerce method doesn't take = it into account and there doesn't seem to be a way to register my own c= oercion logic on either the individual Form or globally. Any ideas? I figur= e somebody else must've encountered this problem... --20cf3054a177ec84580494f7fbe0--