0 Replies Latest reply on Jan 21, 2011 1:50 AM by Preethi Polepalli

    controls-scrollable-data-table error on scrollabledatatable rerender

    Preethi Polepalli Newbie

      Hello,

       

      On rerendering scrollable data table, there is an error in IE 8. The error is like:

       

      Webpage error details

       

      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; NSN; GTB6.6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; NSN)

      Timestamp: Fri, 21 Jan 2011 06:44:48 UTC

       

       

      Message: Unspecified error.

      Line: 45

      Char: 184

      Code: 0

      URI: http://10.254.126.104/networkmap/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/controls-scrollable-data-table.js

       

      Also find the scrollable data table snippet in xhtml:

       

      <rich:panel id="devices_scrollabletable" style="border-style:none">

       

                          <rich:scrollableDataTable id="devices" var="device"

                              value="#{invManagedBean.deviceList}" rows="15" frozenColCount="0"

                              rowKeyVar="rowKey" styleClass="inventory-table"

                              rowClasses="odd,even" headerClass="header"

                              hideWhenScrolling="false" selectedClass="selected"

                              columnClasses="column1class"

                              rendered="#{stateManagedBean.currentTable == 'Device'}"

                              selection="#{invManagedBean.deviceSelection}"

                              status="filterTableStatus">

       

                              <rich:column id="instance">

                                  <f:facet name="header">

                                      <h:outputText value="Name" />

                                  </f:facet>

                                  <a4j:outputPanel id="NERow">

                                      <h:outputText value="#{device.instance}"

                                          styleClass="ottableText" />

                                  </a4j:outputPanel>

                              </rich:column>

                              <rich:column id="neType">

                                  <f:facet name="header">

                                      <h:outputText value="Type" />

                                  </f:facet>

                                  <h:outputText value="#{device.neType}" styleClass="ottableText" />

                              </rich:column>

                              <rich:column id="address" style="overflow: oneLine">

                                  <f:facet name="header">

                                      <h:outputText value="Address" />

                                  </f:facet>

                                  <h:outputText value="#{device.address}" styleClass="ottableText" />

                              </rich:column>

                              <rich:column id="communicationState">

                                  <f:facet name="header">

                                      <h:outputText value="Communication state" />

                                  </f:facet>

                                  <h:outputText value="#{device.communicationState}"

                                      styleClass="ottableText" />

                              </rich:column>

                              <rich:column id="administrativeState">

                                  <f:facet name="header">

                                      <h:outputText value="Administrative state" />

                                  </f:facet>

                                  <h:outputText value="#{device.administrativeState}"

                                      styleClass="ottableText" />

                              </rich:column>

                              <rich:column id="parentSubnetworkName"

                                  styleClass="richheader bodyrow">

                                  <f:facet name="header">

                                      <h:outputText value="Parent subnetwork" />

                                  </f:facet>

                                  <h:outputText value="#{device.parentSubnetworkName}"

                                      styleClass="ottableText" />

                              </rich:column>

                          </rich:scrollableDataTable>

                      </rich:panel>

       

       

      Please can someone help me resolve this issue:

       

      actually the problem is that the Mozilla browser get crashes as I have application which will get notifications continuously and to update data we rerender the table on every notification.

      There are not errors on firebug console but on IE8 we see the above mentioned error. I currently suspect the IE8 error which could be reason for crash on mozilla browser..