7 Replies Latest reply on Jun 11, 2007 7:41 AM by Ilya Shaikovsky

    reRender not working (bug?)

    Przemyslaw Jaskierski Newbie

      I'm working on a functionality to show a message back to user after action invocation. Action is invoked, but in the sample below, "itemActionMessage" outputtext is not updated. If I place almost the same tags set on a page without ui:repeat, everything works ok.

      In non-working template I have something similiar to this:

      <ui:repeat value="#{itemsList}" var="item">
       <a4j:commandLink ajaxSingle="true" id="itemActionLink"
       <h:outputText value="Click"/>
       <h:outputText id="itemActionMessage"

      When debugging reply/request content I've spotted something like this in response:

      <body><span id="j_id35:j_id62:itemActionMessage">item 'category1 item2' added to cart
      </span><meta name="Ajax-Update-Ids" content="j_id35:j_id62:itemActionMessage" />

      But my page source shows this:
      <span id="j_id35:0:j_id62:itemActionMessage">Initial status message</span>

      So there is a difference between IDs.

      How to solve this?