title: Showing a label in PrimeFaces when clicked on yes on popup
body: <p>I have a PrimeFaces popup and if I click yes on the popup it should show a label.</p>
  
  <p>My code for popup:</p>
  
  <pre><code>&lt;p:confirmDialog widgetVar="confirmDialog"
      visible="#{loadCouponGroupBean.displaypopUp =='true'}"
      showEffect="fade" id="confirmDialog" hideEffect="fade"
      message="#{msgs['msg.changeTemplate']}"
      header="#{msgs['msg.confirmation']}"&gt;
      &lt;p:commandButton value="Yes" type="button" 
          styleClass="ui-confirmdialog-yes" icon="ui-icon-check" update="itemDetailsId"
          onclick="PF('confirmDialog').hide()" /&gt;
      &lt;p:commandButton value="No" type="button"
          styleClass="ui-confirmdialog-no" icon="ui-icon-close"
          onclick="PF('confirmDialog').hide()" /&gt;
  &lt;/p:confirmDialog&gt;
  </code></pre>
  
  <p>And my code for label: </p>
  
  <pre><code>&lt;h:outputLabel id="itemDetailsId" value="#{loadCouponGroupBean.itemBo.name}" /&gt;
  </code></pre>
  
  <p>Based on this I need to show the label when the user clicks yes on the popup. How can I do this?</p>