1 Reply Latest reply on Apr 26, 2007 1:20 PM by Sergey Smirnov

    suggestionbox

    Józsa Tamás Newbie

      Hi!

      I am having a little problem here with rich:suggestionbox componenet. I used the sample code on

      http://livedemo.exadel.com/richfaces-demo/richfaces/suggestionBox.jsf

      and pasted it into my existing JSF app, witch is allready using various A4J and RichFaces components with tiles.

      The problem is that when I change the text in the input field - witch is connected to the suggestionbox, I an exception:

      [2007.04.26. 18:22:05:469 CEST] 95be72a WebGroup E SRVE0026E: [Servlet Error]-[java.lang.Integer: method valueOf(I)Ljava/lang/Integer; not found]: java.lang.NoSuchMethodError: java.lang.Integer: method valueOf(I)Ljava/lang/Integer; not found
       at org.richfaces.renderkit.html.SuggestionBoxRenderer$DataTemplateContext.getParameter(SuggestionBoxRenderer.java:390)
       at org.ajax4jsf.framework.renderer.compiler.ElementBase$5.getValue(ElementBase.java:338)
       at org.ajax4jsf.framework.renderer.compiler.ElementBase$ValueGetter.getStringOrDefault(ElementBase.java:426)
       at org.ajax4jsf.framework.renderer.compiler.ElementBase.getString(ElementBase.java:196)
       at org.ajax4jsf.framework.renderer.compiler.AttributeElement.encode(AttributeElement.java:45)
       at org.ajax4jsf.framework.renderer.compiler.ElementBase.encode(ElementBase.java:104)
       at org.ajax4jsf.framework.renderer.compiler.ElementBase.encode(ElementBase.java:104)
       at org.ajax4jsf.framework.renderer.compiler.ElementBase.encode(ElementBase.java:104)
       at org.ajax4jsf.framework.renderer.compiler.RootElement.encode(RootElement.java:64)
       at org.richfaces.renderkit.html.SuggestionBoxRenderer.encodeChildren(SuggestionBoxRenderer.java:182)
       at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
       at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:252)
       at org.ajax4jsf.framework.renderer.AjaxChildrenRenderer.encodeAjaxChild(AjaxChildrenRenderer.java:127)
       at org.ajax4jsf.framework.renderer.AjaxChildrenRenderer.encodeAjaxChild(AjaxChildrenRenderer.java:118)
       at org.ajax4jsf.framework.renderer.AjaxChildrenRenderer.encodeAjaxChild(AjaxChildrenRenderer.java:118)
       at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:125)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:536)
       at org.ajax4jsf.framework.ajax.AjaxContext.renderAjaxRegion(AjaxContext.java:289)
       at org.ajax4jsf.framework.ajax.AjaxContext$2.invoke(AjaxContext.java:207)
       at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnComponent(JsfOneOneInvoker.java:78)
       at org.ajax4jsf.framework.ajax.AjaxContext.invokeOnComponent(AjaxContext.java:165)
       at org.ajax4jsf.framework.ajax.AjaxContext.renderSubmittedAjaxRegion(AjaxContext.java:219)
       at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:252)
       at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
       at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
       at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
       at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
       at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
       at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
       at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
       at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
       at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
       at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
       at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
       at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
       at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1009)
       at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:529)
       at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:208)
       at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
       at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:321)
       at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
       at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:120)
       at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:250)
       at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
       at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
       at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
       at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:458)
       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:937)
      
      


      It seams to me, that there is a bug in the

      org.richfaces.renderkit.html.SuggestionBoxRenderer$DataTemplateContext.getParameter(SuggestionBoxRenderer.java:390)

      line.

      I looked into the Anon SVN and could not find such method in the above mentioned class. What to do now?

      If there was a change in this component. When would a relase be downloadable?

      Thx,
      Tamas