1 Reply Latest reply on Dec 6, 2008 12:53 PM by Nick Belaevski

    reRender fails to work if reRender component not in response

    Troy Tarrrant Newbie


      If you have a link like Remove that changes the model such that the link that sent the ajax request is no longer in the response then reRendering doesn't not happen. How does one get around this?

      <a4j:output id="items">
      <ui:repeat value="#{items}" var="item">
      <a4j:commandLink value="#{handler.remove(item)}" reRender="items" />

      So handler.remove removes the item from the list and we want to reRender the list (without the item just removed).

      The reRendering fails to happen :(