4 Replies Latest reply on Aug 16, 2011 2:44 AM by deeps p

    Error for Extendeddatatable.

    deeps p Newbie

      Hi,

       

      I am using richfaces 3.3.3 Final + seam 2.2GA .I am getting an error as shown below followed by a number of similar errors for some of the extended data tables . It happens in all browsers (IE,mozilla,chrome) after some ajax actions.One error followed by the next will keep on coming and we have to keep clicking ok till all errors are over. Any idea what can be the reason for this kind of an error with extended data table. Pls help.

       

      Untitled.png

       

      thanks,

      Deeps.

        • 1. Re: Error for Extendeddatatable.
          Ilya Shaikovsky Master

          Check that parent to which DnD attached defined with id's. output text and images components do not encodes autogenerated id if you not defined explicit one. So that problem could appear.

          • 2. Re: Error for Extendeddatatable.
            deeps p Newbie

            Thanks for the fast reply.Actually  I have given id for each and every component in the table.Still the issue is there.Following is the code for one extended table :

             

            <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>

             

            and one error I am getting for this table is :

            Untitled4.png

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

             

            thanks,

            Deeps.

            • 3. Re: Error for Extendeddatatable.
              deeps p Newbie

              Hi,

              If anyone has got any idea pls share. I am trying to solve this issue for a long time.But not able to understande the reason.Pls help.

              Thanks,

              Deeps.

              • 4. Re: Error for Extendeddatatable.
                deeps p Newbie

                Hi Illya,

                 

                Can you pls go through the details of the issue i have posted and give me a reply?

                 

                Thanks,

                Deeps.