Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1613

HtmlCalendarRenderer Throws ClassCastException - not fixed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.11
    • Fix Version/s: 1.1.12
    • Component/s: None
    • Labels:
      None

      Description

      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(); }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu4242 Leonardo Uribe
                Reporter:
                klaus1 Klaus Schuster
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: