1 Reply Latest reply on Aug 21, 2011 12:09 PM by ilya_shaikovsky

    Dnd issue in Extended datatable.

    deeps83

      I am getting the following error for more than one extended data tables that I am using in my application :

       

      dnd.png

       

      followed by a number of smilar errors for all of which we have to keep on clicking ok button.

      Actually  I have given id for each and every component in the table.Still the issue is there.Following is the code for the extended table for which I am getting the above error :

       

      <h:form id="abForm12">

                                      <a:outputPanel id="reporttestpanel">

                                          <div><rich:extendedDataTable height="150px"

                                              noDataLabel="#{messages['lbl.noreport']}"

                                              value="#{appBuilder.reportlist}" var="reportvar"

                                              id="listofreporttable" selectedClass="table-row-selected"

                                              headerClass="table-header" activeClass="table-row-selected"

                                              rowClasses="row1, row2" >

       

                                              <rich:column label="#{messages['lbl.modeltype']}" width="90px"

                                                  sortBy="#{reportvar.getParamValue('ModelType')}"

                                                  sortable="true" id="rep_col1">

                                                  <f:facet name="header">

                                                      <h:outputText styleClass="headerText"

                                                          value="#{messages['lbl.modeltype']}" id="rep_txt1" />

                                                  </f:facet>

                                                  <h:outputText value="#{reportvar.getParamValue('ModelType')}"

                                                      id="rep_txt12" />

                                              </rich:column>

       

                                              <rich:column label="#{messages['lbl.reporttype']}"

                                                  width="110px"

                                                  sortBy="#{reportvar.getAgentCategory().toString()}"

                                                  sortable="true" id="rep_col2">

                                                  <f:facet name="header">

                                                      <h:outputText styleClass="headerText"

                                                          value="#{messages['lbl.reporttype']}" id="rep_txt2" />

                                                  </f:facet>

                                                  <s:div styleClass="coltextwrap" id="rep_div2">

                                                      <h:outputText value="#{reportvar.getAgentCategory()}"

                                                          id="rep_txt22" />

                                                  </s:div>

                                              </rich:column>

       

                                              <rich:column label="#{messages['lbl.reportsource']}"

                                                  width="130px" sortBy="#{reportvar.getSource()}"

                                                  sortable="true" id="rep_col3">

                                                  <f:facet name="header">

                                                      <h:outputText styleClass="headerText"

                                                          value="#{messages['lbl.reportsource']}" id="rep_txt3" />

                                                  </f:facet>

                                                  <s:div styleClass="coltextwrap">

                                                      <h:outputText value="#{reportvar.getSource()}"

                                                          id="rep_txt32" />

                                                  </s:div>

                                              </rich:column>

                                              <rich:column label="#{messages['lbl.reporttitle']}"

                                                  width="140px" sortBy="#{reportvar.getAgentName()}"

                                                  sortable="true" id="rep_col4">

                                                  <f:facet name="header">

                                                      <h:outputText styleClass="headerText"

                                                          value="#{messages['lbl.reporttitle']}" id="rep_txt4" />

                                                  </f:facet>

                                                  <s:div styleClass="coltextwrap">

                                                      <h:outputText value="#{reportvar.getAgentName()}"

                                                          id="rep_txt42" />

                                                  </s:div>

                                              </rich:column>

       

                                              <rich:column label="#{messages['lbl.creationdate']}"

                                                  width="100px"

                                                  sortBy="#{appBuilder.getDateAndTime(reportvar.getCreationDate())}"

                                                  sortable="true" id="rep_col5">

                                                  <f:facet name="header">

                                                      <h:outputText styleClass="headerText"

                                                          value="#{messages['lbl.creationdate']}" id="rep_txt5" />

                                                  </f:facet>

                                                  <s:div styleClass="coltextwrap">

                                                      <h:outputText

                                                          value="#{appBuilder.getDateAndTime(reportvar.getCreationDate())}"

                                                          id="rep_col52" />

                                                  </s:div>

                                              </rich:column>

       

                                              <rich:column label="#{messages['lbl.operation']}"

                                                  id="rep_col6">

                                                  <f:facet name="header">

                                                      <h:outputText styleClass="headerText"

                                                          value="#{messages['lbl.operation']}" id="rep_txt6" />

                                                  </f:facet>

                                                  <a:outputPanel id="reportstartpanel"

                                                      rendered="#{appBuilder.getStopImagePath(reportvar)}">

                                                      <a:commandLink value=" "

                                                          action="#{appBuilder.startReport(reportvar)}"

                                                          rendered="#{appBuilder.getValueFromPermissionMap('START_STOP_REPORT',reportvar)}"

                                                          reRender="reporttestpanel,reportstartpanel,reportstoppanel"

                                                          id="rep_link61">

                                                          <h:graphicImage value="/images/start.png"

                                                              title="#{messages['lbltitle.start']}" style="border:0"

                                                              id="rep_img61" />

                                                      </a:commandLink>

                                                  </a:outputPanel>

       

                                                  <a:outputPanel id="reportstoppanel"

                                                      rendered="#{appBuilder.getStartImagePath(reportvar)}">

                                                      <a:commandLink value=" "

                                                          action="#{appBuilder.stopReport(reportvar)}"

                                                          rendered="#{appBuilder.getValueFromPermissionMap('START_STOP_REPORT',reportvar)}"

                                                          reRender="reporttestpanel,reportstartpanel,reportstoppanel"

                                                          id="rep_link62">

                                                          <h:graphicImage value="/images/stop.png"

                                                              title="#{messages['lbltitle.stop']}" style="border:0"

                                                              id="rep_img62" />

                                                      </a:commandLink>

                                                  </a:outputPanel>

       

                                                  <a:commandLink value=""

                                                      action="#{appBuilder.getInstantReportForAgent(reportvar)}"

                                                      reRender="chartid,chartpanelgrid,pgrowl" id="rep_link63">

                                                      <h:graphicImage value="/images/view_report.png" title="View"

                                                          style="border:0;padding:2px;" id="rep_img63" />

                                                  </a:commandLink>

       

                                                  <a:commandLink

                                                      action="#{appBuilder.moreReportDetailsMethod(reportvar)}"

                                                      reRender="reportdetailpanel"

                                                      oncomplete="Richfaces.showModalPanel('reportdetaildialog');"

                                                      value=" " limitToList="true" id="rep_link64">

                                                      <h:graphicImage value="/images/information.png"

                                                          title="#{messages['lbltitle.moredetails']}"

                                                          style="border:0;" id="rep_img64" />

                                                  </a:commandLink>

                                                  <a:commandLink

                                                      action="#{appBuilder.moreReportDetailsMethod(reportvar)}"

                                                      oncomplete="Richfaces.showModalPanel('reportdeletedialog');"

                                                      rendered="#{appBuilder.getValueFromPermissionMap('DELETE_REPORT',reportvar)}"

                                                      reRender="reportdeletepanel" value=" " limitToList="true"

                                                      id="rep_link65">

                                                      <h:graphicImage value="/images/delete.png"

                                                          title="#{messages['lbltitle.delete']}" style="border:0"

                                                          id="rep_img65" />

                                                  </a:commandLink>

                                                  <a:commandLink

                                                      action="#{appBuilder.editReportWizard(reportvar)}"

                                                      rendered="#{appBuilder.getValueFromPermissionMap('EDIT_REPORT',reportvar)}"

                                                      reRender="cmbreporttype,reportdependentPanel,reportdepoutputpanel,reportsellist,lblreporttitle,reportcreateradio,reportfinishcmdpanel,reportsummarypanel,createApp,odayofdist,dayofPanel,reportcreatepanel"

                                                      oncomplete="Richfaces.showModalPanel('reportstep1panel');"

                                                      value=" " limitToList="true" id="rep_link66">

                                                      <h:graphicImage value="/img/page_edit.gif"

                                                          title="#{messages['lbltitle.edit']}" style="border:0"

                                                          id="rep_img66" />

                                                  </a:commandLink>

                                              </rich:column>

                                          </rich:extendedDataTable></div>

                                      </a:outputPanel>

                                  </h:form>

       

       

      I am using richfaces 3.3.3Final + seam 2.2.2GA + jboss. I am getting this error in all browsers.

       

      If anyone has any idea pls share.

       

      Thanks,

      Deeps.