2 Replies Latest reply on Dec 22, 2010 12:43 AM by deeps83

    warning in explorer for extended data table.

    deeps83

      Hi,

      I am getting the message:

       

      drag:Element with [inclId:qdform:qualitytable_hdrag_qdColumn1] ID was not found in the DOM tree.  Probably element has no client ID or client ID hasn't been written.  DnD's disabled. Check please!

       

      in explorer followed by a number of similar messages as pop ups,and I have to keep on clicking ok.I am getting this for extendeddatatable.But the UI will be updated properly.

       

      I have read in some dicussions that this happens if ids are not set properly for the components.But I have given id for all the components,That can be seen from the messsage itself.

       

      How can I avoid getting this pop up?

       

      I am using :

       

      Richfaces 3.3.3Final.

      JSF 1.2

      Seam 2.2.0 GA

      JBoss 4.2.3 GA.

      Facelets 1.1.15

       

      Thanks,

      Deeps.

        • 1. Re: warning in explorer for extended data table.
          nbelaevski

          Hi,

           

          Please post related page code.

          • 2. Re: warning in explorer for extended data table.
            deeps83

            Hi,

             

            Following is the related page code :

             

            <ui:define name="centerdata">

                    <rich:panel id="navpanel">

                        .............

                    </rich:panel>

             

                    <a:outputPanel id="plantViewTabs">

                        <div

                            style="height: 210px; padding-left: 20px; padding-right: 20px; background-color: white;">

                        <a:region id="aplantviewregion">

                            <rich:tabPanel id="tabs" switchType="ajax" height="200px"

                                selectedTab="#{plantview.selectedTab}" styleClass="tab-subheader"

                                inactiveTabClass="tab-subheader-inactive"

                                activeTabClass="tab-subheader-active">

                                <a:support event="ontabchange" action="#{plantview.clearView()}"

                                    reRender="chartGrid,qualitytable,push" limitToList="true"></a:support>

                                <rich:tab label="Metrics" id="qdTab" rendered="true"

                                    switchType="ajax" name="qdTab">

                                    <rich:panel style="padding-top: 10px;padding-bottom:10px"

                                        id="qdPanel">

                                        <h:form id="qdForm">

                                            <h:panelGrid columns="2">

                                                <rich:comboBox id="qdCombo"

                                                    value="#{plantview.qualityTimePeriod}"

                                                    suggestionValues="#{plantview.qualityTimePeriodList}"

                                                    defaultLabel="Select Time Period"

                                                    style="text-align: left; height:25px"

                                                    enableManualInput="false" width="150"

                                                    itemClass="stepsgridstyle" itemSelectedClass="stepsgridstyle"

                                                    immediate="true">

                                                    <a:support action="#{plantview.getReportForQualityMetric}"

                                                        event="onselect"

                                                        reRender="qdCombo,qualitytable,pgrowl,chartGrid"

                                                        timeout="60000" />

                                                </rich:comboBox>

                                            </h:panelGrid>

                                            <rich:extendedDataTable height="150px" style="border:none;"

                                                noDataLabel="No metrics available for the node" rows="4"

                                                value="#{plantview.qualityList}" var="qualityvar"

                                                sortMode="single" id="qualitytable"

                                                selection="#{plantview.qualityrowselected}"

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

                                                activeClass="table-row-selected" rowClasses="row1, row2">

             

                                                <rich:column width="200" label="Source Name"

                                                    sortBy="#{qualityvar.getSource()}" sortable="true"

                                                    id="qdColumn1">

                                                    <f:facet name="header">

                                                        <h:outputText styleClass="headerText" value="Source Name" />

                                                    </f:facet>

                                                    <s:div styleClass="coltextwrap">

                                                        <h:outputText value="#{qualityvar.getSource()}" />

                                                    </s:div>

                                                </rich:column>

             

                                                <rich:column width="150" label="Metrics"

                                                    sortBy="#{qualityvar.getMetric()}" sortable="true"

                                                    id="qdColumn2">

                                                    <f:facet name="header">

                                                        <h:outputText styleClass="headerText" value="Metrics" />

                                                    </f:facet>

                                                    <h:outputText value="#{qualityvar.getMetric()}" />

                                                </rich:column>

             

                                                <rich:column width="150" label="Value"

                                                    sortBy="#{plantview.getQualityDataValue(qualityvar.getMetric())}"

                                                    sortable="true" id="qdColumn3">

                                                    <f:facet name="header">

                                                        <h:outputText styleClass="headerText" value="Value" />

                                                    </f:facet>

                                                    <s:div styleClass="coltextwrap">

                                                        <h:outputText

                                                            value="#{plantview.getQualityDataValue(qualityvar.getMetric())}" />

                                                    </s:div>

                                                </rich:column>

                                            </rich:extendedDataTable>

                                        </h:form>

                                    </rich:panel>

                                </rich:tab>

             

                                <rich:tab label="Quality Data" id="metTab" switchType="ajax"

                                    rendered="true" name="metTab">

                                    <h:form>

             

                                </rich:tab>

             

             

                                <rich:tab label="Dependency Data"

                                    rendered="#{plantview.renderDepData}" id="ddTab" switchType="ajax"

                                    name="ddTab"">

                                    ...........................

                                </rich:tab>

                                <rich:tab label="Current Monitors"

                                    rendered="#{plantview.renderMonitorTab}" id="mdTab"

                                    switchType="ajax" name="mdTab"">

                                    ..............................

                                </rich:tab>

             

                            </rich:tabPanel>

                            <a:status onstart="Richfaces.showModalPanel('astartpanel')"

                                onstop="Richfaces.hideModalPanel('astartpanel')"

                                for="aplantviewregion">

                            </a:status>

             

                        </a:region></div>

                    </a:outputPanel>

                </ui:define>

             

            I am getting the warning message for the extendeddatatable shown in the code above.

            Is there anything I am doing wrong.

             

            Thanks,

            Deeps.