Class MessageUtils
java.lang.Object
com.webmethods.caf.faces.application.MessageUtils
Faces message helper functions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.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.
-
Constructor Details
-
MessageUtils
public MessageUtils()
-
-
Method Details
-
createError
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
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.
-