@Deprecated public final class FacesContextMessageHelper extends Object
Use <h:messages/> to display them client side.
Modifier and Type | Method and Description |
---|---|
static void |
addMessageToFctx(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 FacesMessage |
getFacesMessageFor(String content)
Deprecated.
Returns a FacesMessage instance.
|
public static FacesMessage getFacesMessageFor(String content)
content
- the actual message content.public static void addMessageToFctx(FacesContext fctx, String clientId, String content)
fctx
- the FacesContextcontent
- the actual message content.Copyright © 2013 Nuxeo SA. All Rights Reserved.