2 Replies Latest reply on Aug 31, 2007 12:57 PM by Yurii Kartsev

    <a4j:commandButton> doesn't refresh rich:dataTable without a

    Yurii Kartsev Apprentice

      Good afternoon, dear RichFaces gurus.

      Today Sergey Smirnov helped me to solve the problem and said that there was a bug in ajax4jsf, "when reRender point to the dataTable directly". And told me that it's now fixed. Thanks again for helping, Sergei.

      But I've downloaded the latest ajax4jsf version - 1.1.1 from here: http://jboss.org/projects/jbossAjax4jsf, copied it's jar into richFaces dir, reconnected it to the app, rebuilded the app, redeployed and it still don't want to work without surrounding dataTable with <a4j:outputPanel>.

      Di I do something wrong?

      My Code:

      <a4j:commandButton id = "clickButton" value = "Click Me"
       action = "#{amBean.action}" reRender = "hhhoooly">
      </a4j:commandButton>
      
      
       <rich:dataTable style="width:167px"
       id="hhhoooly"
       onRowClick="this.style.backgroundColor='#F1F1F1'"
       onRowMouseOver="this.style.backgroundColor='#B5CEFD'"
       onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
       cellpadding="0" cellspacing="0" value="#{amBean.employeeListMan.employees}"
       var="item">
      
      ...
      
      



      Thanks for your help in advance!