Hi Could you check your server log?. A more detailed exception could be found there, to identify easily what's going on.
regards, Leonardo Uribe 2010/8/31 Rafael Santini <raf...@santini.eti.br> > Hi Ali, > > I have posted this question on PrimeFaces Forum. > > With Mojarra 1.2_15-b01, works perfectly! > The problem is that I need to continue with MyFaces for a while. > > Thanks, > > Rafael Santini > > 2010/8/31 Ali Ok <al...@aliok.com.tr> > > > Hi Rafael, > > Primefaces forum[1] might be a better place to discuss this, but at first > > sight at your code, you should put the autoCompleteBean in view scope > > (available with JSF2). > > > > [1]http://primefaces.prime.com.tr/forum/ > > > > Cheers, > > Ali > > > > On Tue, Aug 31, 2010 at 6:12 PM, SANTINI, Rafael <raf...@santini.eti.br > > >wrote: > > > > > 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 > > > > > > > > > > > > > > > -- > > My Blog: http://blog.aliok.com.tr > > Twitter: http://twitter.com/aliok_tr > > >