Hi,
I'm trying to get PrimeFaces AutoComplete component to work with MyFaces. I
have tried with MyFaces 1.2.9 & PrimeFaces 1.1, MyFaces 2.0.1 & PrimeFaces
2.1 and MyFaces 2.0.1 & PrimeFaces 2.2.M1. In the all cases, the fowlloing
exception is raised:
31/08/2010 11:51:32 org.apache.myfaces.renderkit.ErrorPageWriter
handleThrowable
SEVERE: An exception occurred
javax.faces.application.ViewExpiredException: /autocomplete.xhtmlNo saved
view state could be found for the view identifier: /autocomplete.xhtml
at
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:128)
at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
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.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
at java.lang.Thread.run(Thread.java:619)
I have created a simple test case (.war):
http://www.4shared.com/get/Jm6REAgI/autocomplete.html
Any suggestion?
Thanks,
Rafael Santini