mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/utils/GrowlMessageUtil.java
public void createGlobalFacesMessage(final FacesMessage.Severity severity, final String summary, 
            final String detail, final Exception exception, final boolean sticky)
    {
        //the message to be pushed
        final PushGrowlMessage message;
        
        if (sticky
                || severity.equals(FacesMessage.SEVERITY_ERROR) 
                || severity.equals(FacesMessage.SEVERITY_FATAL) 
                || severity.equals(FacesMessage.SEVERITY_WARN))
        {
            
            message = new PushGrowlMessage(severity, summary, detail, true);
        }
        else
        {
            message = new PushGrowlMessage(severity, summary, detail, false);
        }
        
        //format is channel you want to push to, data that is to be pushed.
        m_PushManager.addMessage(message);
        
        //log the message
        if (exception == null)
        {
            Logging.log(severityToLogLevel(severity), detail);
        }
        else
        {
            Logging.log(severityToLogLevel(severity), exception, detail);
        } 
    }
/**
     * Method that creates a FacesMessage from the given parameters and then updates growl to display 
     * that messsage on the current page via the PrimeFaces Push API. This method will also log the details to the 
     * logging service. Creating a message this way will use the default growl display settings. Error and warning 
     * messages are set to be displayed till closed and information messages are set to use a default timeout.
     * 
     * @param severity
     *   Message severity level.
     * @param summary
     *  Summary of why the message is being displayed.
     * @param detail
     *  Further details about why the message is being displayed.
     * @param exception
     *  Exception to log
     * @param sticky
     *  True if the message should remain open until closed or false if the message should close after the 
     *  default timeout period. Warning, Error, Fatal messages will all default to sticky regardless of the
     *  settting passed to this method.
     */
Method that creates a FacesMessage from the given parameters and then updates growl to display
that messsage on the current page via the PrimeFaces Push API. This method will also log the details to the
logging service. Creating a message this way will use the default growl display settings. Error and warning
messages are set to be displayed till closed and information messages are set to use a default timeout.

@param severity
Message severity level.
@param summary
Summary of why the message is being displayed.
@param detail
Further details about why the message is being displayed.
@param exception
Exception to log
@param sticky
True if the message should remain open until closed or false if the message should close after the
default timeout period. Warning, Error, Fatal messages will all default to sticky regardless of the
settting passed to this method.
Method that creates a FacesMessage from the given parameters and then updates growl to display that messsage on the current page via the PrimeFaces Push API . This method will also log the details to the logging service . Creating a message this way will use the default growl display settings . Error and warning messages are set to be displayed till closed and information messages are set to use a default timeout . @param severity Message severity level . @param summary Summary of why the message is being displayed . @param detail Further details about why the message is being displayed . @param exception Exception to log @param sticky True if the message should remain open until closed or false if the message should close after the default timeout period . Warning Error Fatal messages will all default to sticky regardless of the settting passed to this method .
public void createGlobalFacesMessage(final FacesMessage.Severity severity, final String summary, 
            final String detail, final Exception exception, final boolean sticky)
    {
        final PushGrowlMessage message;
        if (sticky
                || severity.equals(FacesMessage.SEVERITY_ERROR) 
                || severity.equals(FacesMessage.SEVERITY_FATAL) 
                || severity.equals(FacesMessage.SEVERITY_WARN))
        {
            message = new PushGrowlMessage(severity, summary, detail, true);
        }
        else
        {
            message = new PushGrowlMessage(severity, summary, detail, false);
        }
        m_PushManager.addMessage(message);
        if (exception == null)
        {
            Logging.log(severityToLogLevel(severity), detail);
        }
        else
        {
            Logging.log(severityToLogLevel(severity), exception, detail);
        } 
    }
public void createGlobalFacesMessage ( final FacesMessage . Severity severity , final String summary , final String detail , final Exception exception , final boolean sticky ) { final PushGrowlMessage message ; if ( sticky || severity . equals ( FacesMessage . SEVERITY_ERROR ) || severity . equals ( FacesMessage . SEVERITY_FATAL ) || severity . equals ( FacesMessage . SEVERITY_WARN ) ) { message = new PushGrowlMessage ( severity , summary , detail , true ) ; } else { message = new PushGrowlMessage ( severity , summary , detail , false ) ; } m_PushManager . addMessage ( message ) ; if ( exception == null ) { Logging . log ( severityToLogLevel ( severity ) , detail ) ; } else { Logging . log ( severityToLogLevel ( severity ) , exception , detail ) ; } }
Method that creates a FacesMessage from the given parameters and then updates growl to display
 that messsage on the current page via the PrimeFaces Push API.
Method that creates a FacesMessage from the given parameters and then updates growl to display that messsage on the current page via the PrimeFaces Push API .
//the message to be pushed //format is channel you want to push to, data that is to be pushed. //log the message