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

        

Reply via email to