[richfaces-issues] [JBoss JIRA] (RF-13570) a4j:ajax and r:ajax conflict
Ken H (JIRA)
issues at jboss.org
Thu Mar 6 14:59:33 EST 2014
[ https://issues.jboss.org/browse/RF-13570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12950863#comment-12950863 ]
Ken H commented on RF-13570:
----------------------------
To clarify, if you couldn't guess, this is happening with a4j:ajax/r:ajax tags inside the scope of an a4j:queue.
> a4j:ajax and r:ajax conflict
> ----------------------------
>
> Key: RF-13570
> URL: https://issues.jboss.org/browse/RF-13570
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha2
> Reporter: Ken H
>
> Using both a4j:ajax and r:ajax tags results in a cast exception:
> {code}
> Exception logged: org.richfaces.view.facelets.html.AttachQueueStack cannot be cast to org.richfaces.ui.ajax.queue.AttachQueueStack: java.lang.ClassCastException: org.richfaces.view.facelets.html.AttachQueueStack cannot be cast to org.richfaces.ui.ajax.queue.AttachQueueStack
> at org.richfaces.ui.ajax.queue.AttachQueueStack.getStack(AttachQueueStack.java:43) [richfaces-5.0.0.Alpha3.jar:5.0.0.Alpha3]
> at org.richfaces.ui.ajax.ajax.AjaxHandler.apply(AjaxHandler.java:104) [richfaces-5.0.0.Alpha3.jar:5.0.0.Alpha3]
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
> at org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53) [richfaces-5.0.0.Alpha3.jar:5.0.0.Alpha3]
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:203) [jsf-impl-2.2.5-jbossorg-3.jar:]
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
> at org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53) [richfaces-5.0.0.Alpha3.jar:5.0.0.Alpha3]
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:203) [jsf-impl-2.2.5-jbossorg-3.jar:]
> {code}
> Changing all a4j:ajax tags to r:ajax resolves this but defeats the compatibility goal of having the dual namespaces.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list