Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.helpers
Class FacesContextMessageHelper

java.lang.Object
  extended by org.nuxeo.ecm.webapp.helpers.FacesContextMessageHelper

Deprecated.

@Deprecated
public final class FacesContextMessageHelper
extends Object

Helper to generate JSF context messages.

Use <h:messages/> to display them client side.

Author:
Julien Anguenot

Method Summary
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFacesMessageFor

public static FacesMessage getFacesMessageFor(String content)
Deprecated. 
Returns a FacesMessage instance.

Parameters:
content - the actual message content.
Returns:
a FacesMessage instance

addMessageToFctx

public 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.

Parameters:
fctx - the FacesContext
content - the actual message content.

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.