0 Replies Latest reply on Jul 10, 2008 12:15 PM by hgk

    Can a4j:poll update just a component within column of rich:d

    hgk

      Hi all,

      I have a4j:poll that updates a component within the column of rich:dataTable. See the code below.

      I am not not sure if it is actually updating the entire table or just the component within the column. I don't want the entire table to refresh. With the code below, looks like entire table is getting refreshed.

      Thanks,
      hgk

      <rich:dataTable ....>
      ....
      <rich:column id="statusColumn" headerClass="managerSectionHeader">
      <f:facet name="header">
      ....
      </f:facet>
      <h:panelGroup id="statusGroup">
      <h:graphicImage url="/images/loading_blue_small.gif" rendered="#{discoveryTask.running}"/>
      </h:panelGroup>
      </rich:column>
      </rich:dataTable>

      <a4j:region>
      <h:form>
      <a4j:poll id="refreshStatus" action="#{FileServerListPage.updateStatus}" reRender="statusGroup"
      timeout="50000" interval="1000"/>
      </h:form>
      </a4j:region>