5 Replies Latest reply on Dec 2, 2008 1:36 PM by shadowcreeper

    Firefox ajax render go to white page

      <rich:panel id="miniFilterPanel" styleClass="panelSr">
      <f:facet name="header"><h:outputText value="Filters" style="cursor:default"/></f:facet>

      <h:form id="formFiltersPool">
      <a4j:region renderRegionOnly="true">

      <a4j:poll id="miniListFiltersPool" interval="5000" enabled="true" reRender="miniListFilterTable"/>

      <a4j:region renderRegionOnly="true">


      <rich:dataTable
      styleClass="tableBorder" width="100%"
      onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
      onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
      id="miniListFilterTable" var="miniFilterItem" value="#{monitor.monitorFilters}"
      rowKeyVar="miniFilterId">

      <rich:column>
      <h:graphicImage id="imgStatusF" height="16" width="16" value="#{miniFilterItem.imgStatus}"/>
      <h:inputHidden id="statusF" value="#{miniFilterItem.status}"/>
      </rich:column>
      <rich:column>
      <h:outputText styleClass="cursorDefault" value="#{miniFilterItem.ip}"/>
      </rich:column>
      <rich:column>
      <h:outputText id="nameF" styleClass="cursorDefault" value="#{miniFilterItem.name}"/>
      </rich:column>
      <rich:column>
      <h:outputText styleClass="cursorDefault" value="#{miniFilterItem.mac}"/>
      <h:inputHidden id="notifF" value="#{miniFilterItem.notification}"/>
      </rich:column>

      <!--rich:componentControl event="onRowClick" for="menu" operation="show">
      <f:param value="#{miniFilterItem.id}" name="server_id"/>
      <f:param value="#{miniFilterItem.name}" name="name"/>
      <f:param value="#{miniFilterItem.ip}" name="ip"/>
      </rich:componentControl-->

      </rich:dataTable>


      </a4j:region>
      </a4j:region>
      </h:form>
      </rich:panel>

      Sorry for my bad english.
      Pool start. After some time ajax render window and i can see only white page and can not update page. In jboss and firefox dont loging about this exception

        • 1. Re: Firefox ajax render go to white page
          nbelaevski

          Hi,

          Please add

          <a4j:log popup="false" />
          and check if there are any errors/warnings?

          • 2. Re: Firefox ajax render go to white page
            ilya_shaikovsky

            and also check if there are exceptions at server console during such request.

            • 3. Re: Firefox ajax render go to white page

              I can reproduce exception and can see exception in JBoss
              Error [STDERR] 02.12.2008 10:47:15 com.sun.facelets.impl.DefaultFacelet refresh
              INFO: Facelet [page/persistance/servers/miniListServers.xhtml] wa modified @ 10:47:15, flushing component applied @ 10:47:11

              I included in source <a4j:log popup="false" />
              But I can't see an error (bug) in logs, because the redirect to the white page occures very fast.
              Can i send logs to server part?

              • 4. Re: Firefox ajax render go to white page
                nbelaevski

                Ok, looks like that is causing problems:
                Error [STDERR] 02.12.2008 10:47:15 com.sun.facelets.impl.DefaultFacelet refresh
                INFO: Facelet [page/persistance/servers/miniListServers.xhtml] wa modified @ 10:47:15, flushing component applied @ 10:47:11

                Do you modify miniListServers.xhtml file while server is running? That can also happen if time of this file last modification is in the future comparing to system time, e.g. when you deploy .war file built in one timezone to server in another timezone.

                • 5. Re: Firefox ajax render go to white page
                  shadowcreeper

                  I used to see that when the response was empty, check the firebug console to see what you got for a response.

                  As far as the empty response, it somehow magically cleared itself up. It was probably either a bug in the code (gone when I upgraded RF) or my incorrect usage of queues. I can't remember when it went away but it did.

                  Hope this helps.
                  -Shadow