You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tomas Cerny (JIRA)" <de...@myfaces.apache.org> on 2007/12/11 22:28:43 UTC

[jira] Created: (TOMAHAWK-1165) Calendar - cannot be cast

Calendar - cannot be cast 
--------------------------

                 Key: TOMAHAWK-1165
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1165
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Calendar
    Affects Versions: 1.1.7-SNAPSHOT
         Environment: Linux, Trinidad, JSF RI 1.2
            Reporter: Tomas Cerny
             Fix For: 1.1.7-SNAPSHOT


Dec 11.

New version of snapshot changed class type for Calendar? 

log: org.apache.myfaces.custom.date.HtmlInputDate cannot be cast to org.apache.myfaces.custom.calendar.HtmlInputCalendar

My Facelets taglib is 

<tag-name>inputCalendar</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlInputCalendar</component-type>
<renderer-type>org.apache.myfaces.Calendar</renderer-type>
</component>

this is according your documentation http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
it worked with previous version.

Do I need in taglib change the type? 

Is that something else?



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TOMAHAWK-1165) Calendar - cannot be cast

Posted by "Paul Lorenz (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lorenz updated TOMAHAWK-1165:
----------------------------------

    Status: Patch Available  (was: Open)

> Calendar - cannot be cast 
> --------------------------
>
>                 Key: TOMAHAWK-1165
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1165
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Calendar
>    Affects Versions: 1.1.7-SNAPSHOT
>         Environment: Linux, Trinidad, JSF RI 1.2
>            Reporter: Tomas Cerny
>             Fix For: 1.1.7-SNAPSHOT
>
>
> Dec 11.
> New version of snapshot changed class type for Calendar? 
> log: org.apache.myfaces.custom.date.HtmlInputDate cannot be cast to org.apache.myfaces.custom.calendar.HtmlInputCalendar
> My Facelets taglib is 
> <tag-name>inputCalendar</tag-name>
> <component>
> <component-type>org.apache.myfaces.HtmlInputCalendar</component-type>
> <renderer-type>org.apache.myfaces.Calendar</renderer-type>
> </component>
> this is according your documentation http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
> it worked with previous version.
> Do I need in taglib change the type? 
> Is that something else?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOMAHAWK-1165) Calendar - cannot be cast

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604335#action_12604335 ] 

Leonardo Uribe commented on TOMAHAWK-1165:
------------------------------------------

This issue presents two different problems.

I think this is related to:

TOMAHAWK-1209 HtmlCalendar.getLocalizedLanguageScript called form HtmlDateRenderer throws ClassCastException

and

TOMAHAWK-1210 this.stdDateFormatter javascript is null

Each one has already been fixed with similar solutions as presented.

I have also checked the working of inputDate and everything is fine.

If no objections I'll close this issue as duplicated

> Calendar - cannot be cast 
> --------------------------
>
>                 Key: TOMAHAWK-1165
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1165
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Calendar
>    Affects Versions: 1.1.7-SNAPSHOT
>         Environment: Linux, Trinidad, JSF RI 1.2
>            Reporter: Tomas Cerny
>             Fix For: 1.1.7-SNAPSHOT
>
>         Attachments: core-pom-fix.patch, html-calendar-renderer-fix.patch, popcalendar-js-fix.patch
>
>
> Dec 11.
> New version of snapshot changed class type for Calendar? 
> log: org.apache.myfaces.custom.date.HtmlInputDate cannot be cast to org.apache.myfaces.custom.calendar.HtmlInputCalendar
> My Facelets taglib is 
> <tag-name>inputCalendar</tag-name>
> <component>
> <component-type>org.apache.myfaces.HtmlInputCalendar</component-type>
> <renderer-type>org.apache.myfaces.Calendar</renderer-type>
> </component>
> this is according your documentation http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
> it worked with previous version.
> Do I need in taglib change the type? 
> Is that something else?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.