0 Replies Latest reply on Oct 23, 2007 8:30 PM by rachana patel

    ScrollableDataTable issue

    rachana patel Newbie

      Hi,

      I tried to use scrollable dataTable, but I get following exception:

      java.lang.ClassCastException
       at org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer.getColumnSorting(ScrollableDataTableBaseRenderer.java:863)
       at org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer.access$200(ScrollableDataTableBaseRenderer.java:42)
       at org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer$3.renderContent(ScrollableDataTableBaseRenderer.java:131)
       at org.richfaces.renderkit.html.ExtendedColumnVisitor.visit(ExtendedColumnVisitor.java:31)
       at org.richfaces.renderkit.html.ColumnWalker.iterateOverColumns(ColumnWalker.java:42)
       at org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer.renderHeaders(ScrollableDataTableBaseRenderer.java:490)
       at org.richfaces.renderkit.html.ScrollableDataTableRenderer.doEncodeEnd(ScrollableDataTableRenderer.java:304)
       at org.richfaces.renderkit.html.ScrollableDataTableRenderer.doEncodeEnd(ScrollableDataTableRenderer.java:553)
       at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
       at org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer.encodeEnd(ScrollableDataTableBaseRenderer.java:746)
       at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
       at org.richfaces.component.UIScrollableDataTable.encodeEnd(UIScrollableDataTable.java:335)
       at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
       at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
       at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:284)
       at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
       at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:284)
       at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
       at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:79)
       at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
       at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
      


      My working environment is :
      tomahawk-1.1.6.jar
      jsf1.1_02.jar
      richfaces-3.1.2.GA

      None of new components like calendar will work in my app.
      Please advise, as to where could be the problem.

      Thanks in advance!