Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13472

Action listener: binding doesn't work

    Details

    • Sprint:
      5.0.0.Alpha3 - Sprint 2

      Description

      1. deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jActionListener/all.xhtml
        or
      2. deploy Showcase and open http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=actionListener&skin=blueSky

      result:

      • in Showcase this stack trace is displayed instead of page (Metamer is similar)

        javax.faces.view.facelets.TagAttributeException: /richfaces/actionListener/samples/actionListener-sample.xhtml @30,88 listener="#{actionListenerBean.handleActionMethod}" null
        	com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:232)
        	org.richfaces.ui.ajax.ActionListenerHandler.applyAttachedObject(ActionListenerHandler.java:100)
        	org.richfaces.ui.ajax.ActionListenerHandler.apply(ActionListenerHandler.java:138)
        	javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
        	javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
        	org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
        	com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
        	javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
        	javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
        	javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
        	org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
        	com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
        	javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
        	javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
        	javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
        	org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
        	com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
        	javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
        	com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
        	com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
        	com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
        	com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
        	com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
        	com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
        	com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
        	com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
        	javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
        	com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
        	com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
        	com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
        	com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
        	com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
        	com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
        	com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
        	com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
        	javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
        	com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
        	com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
        	com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
        	com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
        	com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
        	javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
        	javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
        	org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
        	com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
        	javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
        	javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
        	com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
        	javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
        	com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
        	com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
        	com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
        	com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
        	com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
        	com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
        	com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
        	com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
        	com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164)
        	com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:902)
        	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
        	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
        	org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66)
        	javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
        	org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
        

      • works fine in RF 4.3.4.Final, there were no changes made in neither Metamer nor Showcase since 4.3.4.Final release

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfryc Lukáš Fryč
                  Reporter:
                  ppitonak Pavol Pitonak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: