[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved TOMAHAWK-1613.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.12-SNAPSHOT
         Assignee: Leonardo Uribe

I removed the cast, but not the final solution to ensure t:inputCalendar work 
as expected is use DateBusinessConverter.
                
> 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
>            Assignee: Leonardo Uribe
>             Fix For: 1.1.12-SNAPSHOT
>
>
> 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