5 Replies Latest reply on Feb 25, 2009 10:39 AM by Nick Belaevski

    How to : reRender only one elements of a ui:repeat or a4j:re

    SIBUT Nicolas Newbie

      Hello.

      I try to reRender an element of a a4j:repeat tag as this :

      <a4j:repeat value="#{elementDocumentService.elementsAAfficher}" var="_elem" id="repeat">
      <h:outputText value="#{elementDocumentService.compteurTest}" id="test#{_elem.id}" />
      <a4j:commandLink value="Inc" action="#{elementDocumentService.inc}" reRender="test#{_elem.id}">
      <a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender" />
      </a4j:commandLink>
      </a4j:repeat>

      My id is amway like this : repeat:ANumber:test , so my EL "#{_elem.id}" is never resolved.