8 Replies Latest reply on Aug 11, 2009 12:13 AM by abcd1

    Duplicate Id in extendedDataTable

    abcd1

      Hi everyone

      i am using extendedDataTable under richfaces 3.3.1
      when i run i am getting duplicate id exception

      java.lang.IllegalStateException: duplicate Id for a component PageForm:GR_FB_7300:j_id238
       at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:68)
      


      the code is
      <rich:extendedDataTable id="GR_FB_7300"
      binding="#{winfb9.GR_FB_7300}" value="#{winfb9.GR_FB_7300_List}"
      height="260px" width="2000px" sortMode="single"
      selectionMode="multi" tableState="#{winfb9.winfb9GR_FB_7300Profile}"
      var="DATA_ROW" rowClasses="tablerow1" selectedClass="tselectedRow"
      reRender="tableScrollarGR_FB_7300,pagesTextGR_FB_7300,contextGridGR_FB_7300"
      rows="10" selection="# winfb9.selectionGR_FB_7300}" >
      <rich:column id="GR_FB_CHARGE"
      sortBy="#{DATA_ROW.GR_FB_CHARGE_VALUE}"
      filterMethod="#{winfb9.filterMethodGR_FB_CHARGE_VALUE}"
      label="#{winfb9.CLA_KONST_1}" sortable="true" width="65px"
      style="text-align:right;">
      <f:facet name="header">
      <h:outputText value="#{winfb9.CLA_KONST_1}" />
      </f:facet>
      <f:facet name="filter">
      <h:inputText styleClass="textStyleFilter" id="filter1"
      value="#{winfb9.filterGR_FB_CHARGE_VALUE}">
      <a4j:support event="onchange"
       reRender="GR_FB_7300,tableScrollarGR_FB_7300,contextGridGR_FB_7300"
       oncomplete="onchangescroller('GR_FB_7300')" />
      </h:inputText>
      </f:facet>
      <h:outputText id="col-GR_FB_CHARGE" styleClass="rowColorStyle"
      value="#{DATA_ROW.GR_FB_CHARGE_VALUE}" />
      </rich:column>
      ..........
      </rich:extendedDataTable>
      


      but when i remove the binding the exception is not comming..

      can anyone help me
      thanks in advance
      cheers