com.liferay.util.bridges.jsf.common
Class FacesMessageUtil
java.lang.Object
com.liferay.util.bridges.jsf.common.FacesMessageUtil
public class FacesMessageUtil
- extends Object
This class provides static convenience methods for creating FacesMessage
objects from locale-specific values in the Liferay portal.properties file,
and adding them to the FacesContext either globally, or to individual
components.
Method Summary |
static void |
error(javax.faces.context.FacesContext facesContext,
String key)
|
static void |
error(javax.faces.context.FacesContext facesContext,
String key,
Object argument)
|
static void |
error(javax.faces.context.FacesContext facesContext,
String key,
Object[] arguments)
|
static void |
error(String clientId,
javax.faces.context.FacesContext facesContext,
String key)
|
static void |
error(String clientId,
javax.faces.context.FacesContext facesContext,
String key,
Object argument)
|
static void |
error(String clientId,
javax.faces.context.FacesContext facesContext,
String key,
Object[] arguments)
|
static void |
info(javax.faces.context.FacesContext facesContext,
String key)
|
static void |
info(javax.faces.context.FacesContext facesContext,
String key,
Object argument)
|
static void |
info(javax.faces.context.FacesContext facesContext,
String key,
Object[] arguments)
|
static void |
info(String clientId,
javax.faces.context.FacesContext facesContext,
String key)
|
static void |
info(String clientId,
javax.faces.context.FacesContext facesContext,
String key,
Object argument)
|
static void |
info(String clientId,
javax.faces.context.FacesContext facesContext,
String key,
Object[] arguments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesMessageUtil
public FacesMessageUtil()
error
public static void error(javax.faces.context.FacesContext facesContext,
String key)
error
public static void error(javax.faces.context.FacesContext facesContext,
String key,
Object argument)
error
public static void error(javax.faces.context.FacesContext facesContext,
String key,
Object[] arguments)
error
public static void error(String clientId,
javax.faces.context.FacesContext facesContext,
String key)
error
public static void error(String clientId,
javax.faces.context.FacesContext facesContext,
String key,
Object argument)
error
public static void error(String clientId,
javax.faces.context.FacesContext facesContext,
String key,
Object[] arguments)
info
public static void info(javax.faces.context.FacesContext facesContext,
String key)
info
public static void info(javax.faces.context.FacesContext facesContext,
String key,
Object argument)
info
public static void info(javax.faces.context.FacesContext facesContext,
String key,
Object[] arguments)
info
public static void info(String clientId,
javax.faces.context.FacesContext facesContext,
String key)
info
public static void info(String clientId,
javax.faces.context.FacesContext facesContext,
String key,
Object argument)
info
public static void info(String clientId,
javax.faces.context.FacesContext facesContext,
String key,
Object[] arguments)