title: a4j:actionparam assignTo not fired
body: <p>Would someone find any issues with my code below? The action deleteInfectionLink is called but first the property infectionLinkToDelete should be set. However this is never called.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;rich:contextMenu attachTo="#{barmodel.id}" event="oncontextmenu" submitMode="ajax" style="z-index:9999;"&gt;
        &lt;rich:menuGroup value="#{messages['iov.delete_link_with']}"&gt;
              &lt;rich:menuItem submitMode="server"&gt;
                  &lt;a4j:repeat value="#{barmodel.infection.infectionsSinglemedicationhistories.toArray()}" var="infLink"&gt;
                      &lt;a4j:commandLink ajaxSingle="true" immediate="true" action="#{historyLinkController.deleteInfectionLink()}"&gt;
                          &lt;a4j:actionparam assignTo="#{historyLinkController.infectionLinkToDelete}" name="linkToDelete" value="#{infLink.id}" /&gt;
                          &lt;h:outputText value="#{infLink.singlemedicationhistory.startDate}" &gt;
                              &lt;f:convertDateTime pattern="MM/dd "/&gt;
                          &lt;/h:outputText&gt;
                          &lt;h:outputText value="#{infLink.singlemedicationhistory.name}" /&gt;
                      &lt;/a4j:commandLink&gt;&lt;br /&gt;
                  &lt;/a4j:repeat&gt;
              &lt;/rich:menuItem&gt;
          &lt;/rich:menuGroup&gt;
  &lt;/&lt;rich:contextMenu&gt;
  </code></pre>
  
  <p>The property infLink.id is an object of the following class</p>
  
  <pre class="lang-java prettyprint-override"><code>@Embeddable
  public class InfectionsSinglemedicationhistoryId
      implements
          java.io.Serializable {
  
      private long infectionid;
      private long therapyid;
  
      //getters and setters
  }
  </code></pre>