code: private String getMessageType(FacesMessage message) {
  		if (message.getSeverity().equals(FacesMessage.SEVERITY_WARN))
  			return "warning";
  		else if (message.getSeverity().equals(FacesMessage.SEVERITY_ERROR))
  			return "danger";
  		else if (message.getSeverity().equals(FacesMessage.SEVERITY_FATAL))
  			return "danger";
  		else if (message.getSeverity().equals(FacesMessage.SEVERITY_INFO))
  			return "info";
  		return "success";
  	}
docs: Translate severity type to growl style class
  @param message
  @return