Home > Development > How To ReRender PrimeFaces growl after Ajax request from RichFaces component

How To ReRender PrimeFaces growl after Ajax request from RichFaces component

The trick is to embed p:growl within a4j:outputPanel (else for some reason PrimeFaces growl is not rerendered even after assigning an id to it)


<a4j:outputPanel id="pgrowl">
 <p:growl  showDetail="true"  sticky="true"/>
 </a4j:outputPanel>

The usage is like


<a4j:commandButton reRender="pgrowl" ..........
  • Share/Bookmark
Categories: Development Tags:
  1. January 17th, 2010 at 10:50 | #1

    p:commandButton can directly update p:growl without this hack.

  2. January 17th, 2010 at 11:04 | #2

    @Cagatay Civici
    You are right. Just documented this as a generic rule when we initiate an AJAX request from a RichFaces component which may not have an equivalent PrimeFaces component.

  1. No trackbacks yet.