0 Replies Latest reply on Aug 30, 2011 2:53 AM by Sebastian Sachtleben

    Summary and details text for i18n messages

    Sebastian Sachtleben Novice


      I'm using primefaces and p:growl to show messages. Now it seems that messages.info(); sets summary and details to the same message. It would be nice to set different texts for summary and details. Where does the international module push the messages to the context?

      I have tried this:

      FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, title, description);
      log.info("Added message: " + message.toString());
      FacesContext context = FacesContext.getCurrentInstance();
      context.addMessage(null, message);

      But the message doesnt show up :(