Board index JavaServer Faces General Problem with AJAX - Select Components

Problem with AJAX - Select Components

Components, Ajax Framework, Utilities and More.


Posts: 1
Hi,

My problem is given when I execute this example of PrimeFaces's page.
The following mistake:

ADVERTENCIA: /flujo/alta_solicitud1.xhtml @222,90 listener="#{altaOtBean.handleCatsChange}": java.lang.IllegalArgumentException: wrong number of arguments
javax.el.ELException: /flujo/alta_solicitud1.xhtml @222,90 listener="#{altaOtBean.handleCatsChange}": java.lang.IllegalArgumentException: wrong number of arguments
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:104)
javax.faces.FacesException: /flujo/alta_solicitud1.xhtml @222,90 listener="#{altaOtBean.handleCatsChange}": java.lang.IllegalArgumentException: wrong number of arguments
at org.primefaces.component.behavior.ajax.AjaxBehavior.broadcast(AjaxBehavior.java:193)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:90)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:763)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:775)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1267)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at java.lang.Thread.run(Thread.java:619)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
Caused by: javax.el.ELException: /flujo/alta_solicitud1.xhtml @222,90 listener="#{altaOtBean.handleCatsChange}": java.lang.IllegalArgumentException: wrong number of arguments

I use the same code of the example.

I am using Tomcat 6.0.26 and the library primefaces-2.2. RC2.jar

Thank you. I wait for your response

Return to General