Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 43259 invoked from network); 17 Jun 2010 13:30:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jun 2010 13:30:29 -0000 Received: (qmail 36272 invoked by uid 500); 17 Jun 2010 00:03:48 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 36161 invoked by uid 500); 17 Jun 2010 00:03:47 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 36154 invoked by uid 99); 17 Jun 2010 00:03:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 00:03:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 00:03:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5H03NP9001311 for ; Thu, 17 Jun 2010 00:03:23 GMT Message-ID: <10304798.43841276733003523.JavaMail.jira@thor> Date: Wed, 16 Jun 2010 20:03:23 -0400 (EDT) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Updated: (TOMAHAWK-1508) Find a way to convert between the model type required for the renderer, and the model-type that the backing-beans use for t:inputCalendar and t:inputDate In-Reply-To: <23108636.19011273638101836.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TOMAHAWK-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe updated TOMAHAWK-1508: ------------------------------------- Status: Patch Available (was: Open) > Find a way to convert between the model type required for the renderer, and the model-type that the backing-beans use for t:inputCalendar and t:inputDate > --------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: TOMAHAWK-1508 > URL: https://issues.apache.org/jira/browse/TOMAHAWK-1508 > Project: MyFaces Tomahawk > Issue Type: Improvement > Components: Calendar, Date > Affects Versions: 1.1.9 > Reporter: Leonardo Uribe > Assignee: Leonardo Uribe > Attachments: TOMAHAWK-1508.patch > > > From TOMAHAWK-1425: > Hi Leonardo, > I have always thought that JSF should add a business-converter for such issues. So we should have a way to convert between the model type that we need for the renderer, and the model-type that the backing-beans use. > You could register such a converter on the input-component like the normal converter, businessConverter="...". We could also cover stuff like the joda-date with this. > Eventually, we could even add a central registry for this in MyFaces where you can register business-converters centrally and hence let the renderer automatically retrieve such a a converter for the backing-bean datatype and the datatype it needs. > best regards, > Martin > We'll explore this idea here -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.