[
https://jira.jboss.org/jira/browse/RF-8600?page=com.atlassian.jira.plugin...
]
Nick Belaevski updated RF-8600:
-------------------------------
Component/s: CDK
Fix Version/s: 4.0.0.ALPHA2
Assignee: Alex Kolonitsky
Priority: Critical (was: Major)
f:actionListener: Parent is not of type ActionSource
----------------------------------------------------
Key: RF-8600
URL:
https://jira.jboss.org/jira/browse/RF-8600
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: CDK
Affects Versions: 4.0.0.ALPHA1
Environment: Linux, OpenJDK 1.6.0_17, RichFaces 4.0.0-SNAPSHOT
Reporter: Pavol Pitonak
Assignee: Alex Kolonitsky
Priority: Critical
Fix For: 4.0.0.ALPHA2
Action listener attached to a command link causes an exception.
<a4j:commandLink id="componentId" action="#{autoTestBean.action}"
actionListener="#{autoTestBean.actionListener}"
immediate="#{autoTestBean.immediate}"
ajaxSingle="#{autoTestBean.ajaxSingle}"
process="#{autoTestBean.process}"
reRender="#{autoTestBean.reRender}" value="Link">
<f:actionListener
type="org.ajax4jsf.autotest.bean.AutoTestListener" />
</a4j:commandLink>
javax.faces.view.facelets.TagException:
/pages/ajaxCommandLink/testListenerAndNavigation.xhtml @11,84 <f:actionListener>
Parent is not of type ActionSource, type is:
org.richfaces.component.html.HtmlCommandLink@1751a9e
com.sun.faces.facelets.tag.jsf.core.ActionListenerHandler.apply(ActionListenerHandler.java:188)
javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:120)
org.ajax4jsf.facelets.tag.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:57)
com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:160)
javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:99)
com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:174)
com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:392)
com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:363)
com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:104)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:120)
org.ajax4jsf.facelets.tag.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:57)
com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:160)
javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:99)
com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:174)
com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:392)
com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:363)
com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:104)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:120)
org.ajax4jsf.facelets.tag.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:57)
com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:160)
javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:120)
org.ajax4jsf.facelets.tag.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:57)
com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:160)
javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:304)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:363)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:342)
com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:196)
com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:151)
com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)
com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:304)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:363)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:342)
com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:196)
com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:151)
com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)
com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:304)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:363)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:342)
com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:196)
com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:151)
com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)
com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)
com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:148)
com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:734)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:96)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira