5 Replies Latest reply on Apr 20, 2007 9:21 AM by Tiago Alves

    rich:dataTable problem ?

    Tiago Alves Newbie


      i changed all my datatables to rich:datatable, but now i´ve got a strange behaviour..

      <rich:dataTable id="dtMyItens" var="item" value="#{BC06001.itens}" rows="10">
       <h:outputText value="#{item.name}" />
       <rich:column >
       <h:outputText value="#{item.value}" />
       <rich:column >
       <a4j:commandLink action="#{BC06001.removeItem}" reRender="dtMyItens">
       <h:graphicImage url="/img/icone_x.gif" alt="Remove Item"/>

      As you can see my last column has a a4j:commandLink that has to reRender his parent rich:dataTable... The ajax request executes the method but not reRenders the table.

      What can i do ??

      a4j:commandLinks from outside this dataTable reRenders it correctly.. but not when it comes from inside..

      when i simply change rich:dataTable to h:dataTable the code works again..

      can anyone help me ?