3 Replies Latest reply on Feb 15, 2012 4:04 PM by Adam Daduev

    Add Global Message to rich:notifyMessages

    Dominik Mueller Newbie

      Hi There,

       

      i have a problem adding an global Message to notify stack. I expected to add a message to jsf messages with null-ClientID will cause to appear that message, but the message will not show (just a general info about missing form-elements)

       

      Page:

      <rich:notifyStack id="globalStack" position="bottomRight" direction="vertical" >
        <rich:notifyMessages ajaxRendered="true" globalOnly="true" stayTime="5000" stack="globalStack"/>
      </rich:notifyStack>
      

      Add Message:

      ctx.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, "Summary", "Detail"));
      

       

      Thanks for help.

      Dom