3 Replies Latest reply on Oct 30, 2007 11:56 AM by Ilya Shaikovsky

    rich:datascroller and ajaxSingle=

    Jonas Buechel Novice

      I'm having a data table with (rich:calendar) filter fields in header facet and a rich:datascroller component in footer facet.

      Every thing works fine as long as i don't switch to another page using the datascroller. Then the following exception occurs:

      javax.faces.convert.ConverterException: No Converter for type java.util.Date found
       at org.ajax4jsf.util.SelectUtils.getConverterForProperty(SelectUtils.java:283)
       at org.richfaces.renderkit.CalendarRendererBase.getSelectedDate(CalendarRendererBase.java:365)
       at org.richfaces.renderkit.html.CalendarRenderer.doEncodeEnd(CalendarRenderer.java:225)
       at org.richfaces.renderkit.html.CalendarRenderer.doEncodeEnd(CalendarRenderer.java:436)
       at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
       at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
      


      I added the ajaxSingle="true" and reRender attributes, but that didn't solve the problem.
      datascroller code snippet:
       <f:facet name="footer">
       <h:panelGroup>
       <rich:datascroller rendered="#{dataModel.size > rowsDisplayed}" ajaxSingle="true"
       reRender="#{dataTableComponentId}" />
       </h:panelGroup>
       </f:facet>
      
      


      Btw, when i hit the filter button which submits the date fields as well, it works as expected.

      Does any one have an idea about what i'm doing wrong?