Class MessageUtils

java.lang.Object
com.webmethods.caf.faces.application.MessageUtils

public class MessageUtils extends Object
Faces message helper functions.
  • Constructor Details

    • MessageUtils

      public MessageUtils()
  • Method Details

    • createError

      public static FacesMessage createError(FacesContext ctx, String messageId)
      Creates a new faces error message with a summary and detail derived from the appropriate message bundle, using the specified key.
      Parameters:
      ctx - Current context.
      messageId - Message key.
    • createError

      public static FacesMessage createError(FacesContext ctx, String messageId, Object[] args)
      Creates a new faces error message with a summary and detail derived from the appropriate message bundle, using the specified key.
      Parameters:
      ctx - Current context.
      messageId - Message key.
      args - (optional) Message args.