You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2010/02/02 18:14:19 UTC

[jira] Commented: (TOMAHAWK-1487) ClassCastException when rendering HtmlDataScroller with core 2.0

    [ https://issues.apache.org/jira/browse/TOMAHAWK-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828671#action_12828671 ] 

Leonardo Uribe commented on TOMAHAWK-1487:
------------------------------------------

The problem is in myfaces core. ActionSourceRule should deal with both ActionSource and ActionSource2. We have to try is ri is doing right.

> ClassCastException when rendering HtmlDataScroller with core 2.0
> ----------------------------------------------------------------
>
>                 Key: TOMAHAWK-1487
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1487
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Data Scroller
>    Affects Versions: 1.1.10-SNAPSHOT
>            Reporter: Ingo Hofmann
>         Attachments: HtmlDataScroller_as_ActionSource2.patch
>
>
> Using tomahawk20's HtmlDataScroller produces following exception:
> java.lang.ClassCastException: org.apache.myfaces.custom.datascroller.HtmlDataScroller cannot be cast to javax.faces.component.ActionSource2
> at org.apache.myfaces.view.facelets.tag.jsf.ActionSourceRule$ActionMapper2.applyMetadata(ActionSourceRule.java:55)

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