• Settings
    • Locale
    • Change the locale of the datepicker, schedule and client side validation messages.

      Language
      English
      English
      English
      French
      German
      German
      German
      Italian
      Korean
      Spanish
      Catalan
      Dutch
      Portuguese
      Portuguese
      Arabic
      Arabic
      Bulgarian
      Bangla
      Bosnian
      Czech
      Greek
      Estonian
      Persian
      Finnish
      Danish
      Hindi
      Indonesian
      Icelandic
      Croatian
      Japanese
      Hungarian
      Hebrew
      Georgian
      Central Kurdish
      Khmer
      Kyrgyz
      Kazakh
      Lithuanian
      Latvian
      Malay
      Norwegian
      Polish
      Romanian
      Russian
      Slovak
      Slovenian
      Serbian
      Serbian
      Swedish
      Thai
      Turkish
      Ukrainian
      Uzbek
      Vietnamese
      Chinese
      Chinese
  • Resources

NotificationBar

NotificationBar is a fixed positioned panel either at the top or the bottom of the page.

NotificationBar Tag Documentation

NotificationBar is a component to display notification messages at the top or bottom of the page.

NameTypeRequiredDefaultDescription
id String false generated Unique identifier of the component in a namingContainer.
rendered boolean false true Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding UIComponent false generated An EL expression referring to a server side UIComponent instance in a backing bean.
widgetVar String false generated ('widget_' + componentClientId) Name of the client side widget.
autoDisplay boolean false false Displays the notification bar automatically on page load.
effect String false fade Effect to use when showing/hiding the notification bar, valid values are "fade", "slide" and "none".
effectSpeed String false normal Speed of the effect, valid values are "slow", "normal" and "fast".
position String false top Position of the notification bar, valid values are "top" and "bottom".
style String false Inline style of the component.
styleClass String false Style class of the component.
Loading...
Tag DocumentationNew DocumentationNew Documentation JSDoc
PrimeFaces Rocks!

Usage


<style>
    .top {
        filter: alpha(opacity=80);
        opacity: 0.8;
        padding: 50px 0 0 50px;
        z-index: 1000;
    }
</style>



<div class="card">
    <p:notificationBar position="top" effect="slide" styleClass="top" widgetVar="bar">
        <h:outputText value="PrimeFaces Rocks!" style="font-size:36px;"/>
    </p:notificationBar>

    <p:commandButton value="Show" onclick="PF('bar').show()" type="button" icon="pi pi-arrow-down"/>
    <p:commandButton value="Hide" onclick="PF('bar').hide()" type="button" icon="pi pi-arrow-up"/>
</div>