[richfaces-issues] [JBoss JIRA] (RF-13570) a4j:ajax and r:ajax conflict

Brian Leathem (JIRA) issues at jboss.org
Mon Mar 17 19:34:10 EDT 2014


     [ https://issues.jboss.org/browse/RF-13570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-13570:
-------------------------------

    Fix Version/s: 4.5-Tracking

    
> 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
>             Fix For: 4.5-Tracking
>
>
> 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