コード例 #1
0
  public void add(RequestLocaleFaultCodes message, Severity level) {

    String messageText = message.toString();
    getCurrentInstance().addMessage(null, new FacesMessage(level, messageText, messageText));
  }
コード例 #2
0
 public void add(RequestLocaleFaultCodes message) {
   getCurrentInstance().addMessage(null, new FacesMessage(message.toString()));
 }