You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ingo Hofmann (JIRA)" <de...@myfaces.apache.org> on 2010/02/02 16:54:18 UTC
[jira] Created: (TOMAHAWK-1487) ClassCastException when rendering
HtmlDataScroller with core 2.0
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
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.
[jira] Commented: (TOMAHAWK-1487) ClassCastException when rendering
HtmlDataScroller with core 2.0
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ 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.
[jira] Resolved: (TOMAHAWK-1487) ClassCastException when rendering
HtmlDataScroller with core 2.0
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved TOMAHAWK-1487.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.10-SNAPSHOT
Assignee: Leonardo Uribe
I changed a little bit the solution, because "action" param is not used by the scroller. Thanks to Ingo Hofmann for provide this patch.
> 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
> Assignee: Leonardo Uribe
> Fix For: 1.1.10-SNAPSHOT
>
> Attachments: ActionSourceRule_should_deal_with_both_ActionSource_and_ActionSource2.patch, 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.