myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Schuster (Created) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TOMAHAWK-1613) HtmlCalendarRenderer Throws ClassCastException - not fixed
Date Thu, 15 Mar 2012 12:09:38 GMT
HtmlCalendarRenderer Throws ClassCastException - not fixed
----------------------------------------------------------

                 Key: TOMAHAWK-1613
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1613
             Project: MyFaces Tomahawk
          Issue Type: Bug
    Affects Versions: 1.1.11
            Reporter: Klaus Schuster


The problem mentioned TOMAHAWK-1599 is not fixed.
I could locally fix the problem with changing line 169 in File:
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.java

from:
                value = (Date) inputCalendar.getValue();
to:
if(converter instanceof DateConverter) {
               value = ((DateConverter) converter).getAsDate(facesContext, inputCalendar);
           } else {
               value = (Date) inputCalendar.getValue();
           } 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message