@Deprecated public final class FacesContextMessageHelper extends Object
Use <h:messages/> to display them client side.
Modifier and Type | Method and Description |
---|---|
static void |
addMessageToFctx(javax.faces.context.FacesContext fctx,
String clientId,
String content)
Deprecated.
Appends a FacesMessage to the set of messages associated with the specified client identifier, if clientId is not
null.
|
static javax.faces.application.FacesMessage |
getFacesMessageFor(String content)
Deprecated.
Returns a FacesMessage instance.
|
public static javax.faces.application.FacesMessage getFacesMessageFor(String content)
content
- the actual message content.public static void addMessageToFctx(javax.faces.context.FacesContext fctx, String clientId, String content)
fctx
- the FacesContextcontent
- the actual message content.Copyright © 2015 Nuxeo SA. All rights reserved.