Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1338

JSCookMenu t:navigationMenuItem ActionListener no work without define itemValue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.7
    • 1.1.8
    • JS Cook Menu
    • None
    • Windows Jboss 4.22 Java 5 JSF 1.2

    Description

      The actionListener is no longer working on the t:navigationMenuItem for the JSCookMenu.
      This is the code change the libraries from 1.17 to 1.16 will show that it works on 1.16

      This is the code
      <t:navigationMenuItem id="navLogout"
      itemLabel="#

      {example_messages['nav_Logout']}

      " actionListener="#

      {authenticationController.logout}" >
      Both the 1.1 and 1.2 version of 1.1 do not work but the 1.11gives and error

      javax.faces.el.ReferenceSyntaxException: #{authenticationController.logout}

      ;
      com.sun.faces.application.ApplicationImpl.createMethodBinding(ApplicationImpl.java:437)
      org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.decode(HtmlJSCookMenuRenderer.java:122)
      javax.faces.component.UIComponentBase.decode(UIComponentBase.java:764)
      javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1006)
      javax.faces.component.UIForm.processDecodes(UIForm.java:203)
      javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001)
      javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001)
      javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:493)
      com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:101)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
      org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
      org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
      org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
      org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              jroneil Joseph ONeil
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: