0 Replies Latest reply on Jun 20, 2007 4:58 AM by Kirsten Grüne

    Error while saving state in 'client' with dataFilterSlider

    Kirsten Grüne Newbie

      Hello!

      I have implemented a dataFilterSlider. Here is the jsp-page:

      [Code]
      <f:view>
      <a4j:form id="form1" reRender="list-body" ignoreDupResponses="true" requestDelay="100">
      <a4j:region id="stat1">
      <a4j:outputPanel id="slider-body">
      <rich:dataFilterSlider
      for="scoreIndex"
      forValRef="suggestionBox.result"
      filterBy="getPmid"
      manualInput="true"
      onSlide="true"
      onChange="true"
      storeResults="true"
      trackStyleClass="track"
      width="400px"
      styleClass="slider-container"
      rangeStyleClass="range"
      trailer="true"
      trailerStyleClass="trailer"
      handleStyleClass="handle"
      startRange="1000000"
      endRange="10000000"
      increment="1000"
      handleValue="1000"
      id="slider_1" >
      </rich:dataFilterSlider>
      </a4j:outputPanel>

      <a4j:outputPanel id="list-body">
      <rich:dataTable id="scoreIndex" style="width: 100%"
      styleClass="standardTable"
      headerClass="standardTable_Header"
      var="table" value="#{suggestionBox.result}" >
      <h:column>
      <f:facet name="header">
      <h:outputText value="TITLE" />
      </f:facet>
      <h:outputText value="#{table.title}" />
      </h:column>
      <h:column>
      <f:facet name="header">
      <h:outputText value="PMID" />
      </f:facet>
      <h:outputText value="#{table.pmid}" />
      </h:column>
      <h:column>
      <f:facet name="header">
      <h:outputText value="SCORE" />
      </f:facet>
      <h:outputText value="#{table.score}" />
      </h:column>
      <h:column>
      <f:facet name="header">
      <h:outputText value="SOURCE" />
      </f:facet>
      <h:outputText value="#{table.source}" />
      </h:column>
      </rich:dataTable>
      </a4j:outputPanel>
      </a4j:region>
      </a4j:form>
      </f:view>

      [/Code]

      and I get the following error:

      org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while saving state in 'client': 'org.rf.Table'.
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
      com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
      org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
      com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
      org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
      org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)

      What does this mean?? Is something missing in my Bean??

      Thank you!