3 Replies Latest reply on May 28, 2009 5:51 PM by Nick Belaevski

    how to reRender certain row of dataTable/dataList

    Dave Chen Master

      <t:dataList id="areaList" var="area" value="#{bean.areaList}">

      <t:div id="area">
      <t:dataList var="city" value="#{area.cityList}>
      .....
      </t:dataList
      </t:div>

      </t:dataList>

      <a4j:commandLink action="#{bean.refresh4thRow" reRender="3:area" />

      With the code above, I hope to achieve:
      when clicking the link, the 4th row will be refreshed.

      But on server side it says: component id "3:area" not found.
      If I change reRender to "areaList:3:area", I got the same error.
      If I change reRender to ":areaList:3:area", no error, but nothing happened, 4th row was not refreshed.

      I am using RichFaces 3.3.0, JBoss 5.0.1GA, Tomahawk 1.1.8. IE7.

      How to refresh certain row of dataTable/dataList using a4j? Thanks for help.
      Dave