0 Replies Latest reply on Apr 1, 2008 3:37 AM by YILDIZ TERKESLI

    ScrollableDataTable : javax.faces.component.UIComponentBase.

    YILDIZ TERKESLI Newbie

      Hi,
      I am using richfaces version 3.1.4, and I am trying to deploy ScrollableDataTable component. But, I get the following error:

      java.lang.NullPointerException at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:703)

      I am not sure if tis is a bug or I am missing out something, maybe using incompatable library etc. If anyone can help to solve this, I greatly appreciate. Below is the piece of my JSP that calls the ScrollableDataTable component :

      <rich:scrollableDataTable frozenColCount="1" height="400px"
      width="700px" id="accList" rows="10"
      value="#{visit.currentCustomer.accounts}" var="account" sortMode="single"
      binding="#{ifcCustomerBean.accountTable}">

      <rich:column id="accountno">
      <f:facet name="header"><h:outputText value="#{msg['heading.hesapNo']}"/></f:facet>
      <h:outputText value="#{account.accountno}"/>
      </rich:column>
      <rich:column id="curr">
      <f:facet name="header"><h:outputText value="#{msg['heading.hesapKuru']}"/></f:facet>
      <h:outputText value="#{account.curr}"/>
      </rich:column>
      <rich:column id="type">
      <f:facet name="header"><h:outputText value="#{msg['heading.hesapTipi']}"/></f:facet>
      <h:outputText value="#{account.accounttype}"/>
      </rich:column>
      </rich:scrollableDataTable>


      Thanks,

      YILDIZ