title: Unable to ajax update component with p:commandLink click
body: <p>I have three options for user: two equipment selection and one option to say I don't want equipment. To select two equipment I used <code>p:commandLink</code>. To say I do not want equipment I used <code>h:selectOneRadio</code>.</p>
  
  <p>If user do not want to buy equipment, user can select the option button 'I do not wish to have'. So at anytime, only one button can be selected within the three of them.</p>
  
  <p>If I press <code>h:selectOneRadio</code> button, then other two buttons (<code>p:commandLink</code>) are updating properly to 'select'. But if I select an equipment (<code>p:commandLink</code>), then <code>h:selectOneRadio</code> button is not deselecting even though it's bean value is updated to false.</p>
  
  <p>JSF page</p>
  
  <pre><code>&lt;h:panelGroup id="pwpPanel"&gt;
      &lt;div class="row"&gt;
          &lt;ui:repeat value="#{reconBean.EQList}" var="equipment"&gt;
              &lt;div class="col-md-4"&gt;
                  &lt;div class="btn-fibre-tab text-center"&gt;
                      &lt;ui:fragment rendered="#{reconBean.pwpSelectedEquipmentID != equipment.id }"&gt;
                          &lt;p:commandLink id="selectpwp" process="@form" update=":mainForm:pwpPanel"
                              styleClass="select_button" action="#{reconBean.updatePWPItem(equipment.id)}"
                              immediate="true"&gt;
                              Select
                              &lt;f:ajax render=":mainForm:pwpPanel" /&gt;
                          &lt;/p:commandLink&gt;
                      &lt;/ui:fragment&gt;
                      &lt;ui:fragment rendered="#{reconBean.pwpSelectedEquipmentID eq equipment.id }"&gt;
                          &lt;p:commandLink id="selectedpwp" process="@form" update=":mainForm:pwpPanel"
                              styleClass="selected_button" action="#{reconBean.updatePWPItem(equipment.id)}"
                              immediate="true"&gt;
                              Selected
                              &lt;f:ajax render=":mainForm:pwpPanel" /&gt;
                          &lt;/p:commandLink&gt;
                      &lt;/ui:fragment&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/ui:repeat&gt;
      &lt;/div&gt;
      &lt;div class="row"&gt;
          &lt;div class="col-sm-12 "&gt;
              &lt;h:selectOneRadio value="#{reconBean.notPurchaseWithPurchase}" id="radioDoNotWant"
                  name="pwpEquipment"&gt;
                  &lt;f:selectItem itemLabel="I do not wish to have" itemValue="true" /&gt;
                  &lt;f:ajax event="click" execute="@this" listener="#{reconBean.resetPWPSelection}"
                      render="pwpPanel" /&gt;
              &lt;/h:selectOneRadio&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/h:panelGroup&gt;
  </code></pre>
  
  <p>Bean values</p>
  
  <pre><code>public void updatePWPItem(String itemID) {
      pwpSelectedEquipmentID = itemID;
      notPurchaseWithPurchase = false;
  }
  
  public void resetPWPSelection(AjaxBehaviorEvent event) {
      pwpSelectedEquipmentID = null;
  }
  </code></pre>