title: a4j:commandLink stops working after being reRender
body: <p>I have created this test case that isolates my problem. The a4j:commandLink action is not executed once the poll does an ajax update. It is executed if we close the modalPanel before the reRender of the poll.</p>
  
  <p>Any suggestion? Thanks in advance.</p>
  
  <p>test.xhtml:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
  xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:c="http://java.sun.com/jsp/jstl/core"
  xmlns:fnc="http://eyeprevent.com/fnc"&gt;
  &lt;a4j:outputPanel id="testing"&gt;
  &lt;rich:modalPanel id="examinationPanel" autosized="true" width="450" rendered="#{test.condition2}"&gt;
      &lt;f:facet name="header"&gt;
          &lt;h:outputText value="View Examination Images" /&gt;
      &lt;/f:facet&gt;
      &lt;f:facet name="controls"&gt;
          &lt;h:panelGroup&gt;
  
              &lt;a4j:form&gt;
  
                  &lt;a4j:commandLink action="#{test.close}"&gt;
                      &lt;h:graphicImage value="/images/modal/close.png" id="hideExaminationPanel" styleClass="hidelink" /&gt;
                  &lt;/a4j:commandLink&gt;
              &lt;/a4j:form&gt;
              &lt;rich:componentControl for="examinationPanel" attachTo="hideExaminationPanel" operation="hide" event="onclick" /&gt;
  
          &lt;/h:panelGroup&gt;
      &lt;/f:facet&gt;
  
  
      &lt;a4j:form&gt;
  
          &lt;h:panelGrid columns="1" id="timeoutText"&gt;
              &lt;h:outputText id="remainingtime" value="condition1" rendered="#{test.condition1}" /&gt;
              &lt;h:outputText id="timer" value="condition2" rendered="#{test.condition2}" /&gt;
  
          &lt;/h:panelGrid&gt;
  
          &lt;a4j:poll id="poll" interval="5000" enabled="#{test.poll}" reRender="poll,timeoutText" /&gt;
  
  
  
      &lt;/a4j:form&gt;
  &lt;/rich:modalPanel&gt;
  </code></pre>
  
  <p>
  
      Link
  
  </p>
  
  <p>TestBean.java</p>
  
  <pre><code>import org.apache.log4j.Logger;
  public class TestBean {
  private boolean condition1=false;
  private boolean condition2=true;
  private boolean poll=true;
  
  public void close(){
  Logger.getLogger("com.eyeprevent").info("here!");
  poll=false;
  condition1=true;
  condition2=false;
  
  }
  
  public boolean isCondition1() {
  return condition1;
  }
  
  public void setCondition1(boolean condition1) {
  this.condition1 = condition1;
  }
  
  public boolean isCondition2() {
  return condition2;
  }
  public void setCondition2(boolean condition2) {
  this.condition2 = condition2;
  }
  public boolean isPoll() {
  return poll;
  }
  public void setPoll(boolean poll) {
  this.poll = poll;
  }
  } 
  </code></pre>
  
  <p>TestBean is session scoped.
  Richfaces version 3.3.2.SR1</p>
  
  <p>And also in Chrome 5.0.322.2 dev the modalPanel does not appear. It does under FF and IE7.</p>