title: Haw can I close notificationBar Primefaces
body: <p>I'm stuck on notifatiionBar.I like to close it after he is shown.with icnon buton like this exemple</p>
  
  <p><a href="http://primefaces-rocks.appspot.com/ui/notificationBar.jsf#" rel="nofollow">primefaces-rocks.appspot.com/ui/notificationBar.jsf#</a></p>
  
  <pre><code>&lt;p:commandButton value="Enregistrer Parametre" action="#{optionBean.updateParametre()}" oncomplete="bar.show()" update="panel"/&gt;
      &lt;p:notificationBar position="top" effect="slide" widgetVar="bar" styleClass="top" &gt;  
      &lt;f:facet name="close"&gt;  
              &lt;p:graphicImage value="/resources/image/closebar.png" /&gt;  
          &lt;/f:facet&gt;  
      &lt;h:outputText value="Parametre Enregistre !" style="color:#FFCC00;font-size:36px;" /&gt;  
  &lt;/p:notificationBar&gt; 
  </code></pre>
  
  <p>But I never get it works why ??? </p>