|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.seam.core.FacesMessages
@Scope(value=CONVERSATION) @Name(value="org.jboss.seam.core.facesMessages") @Install(precedence=0) @Intercept(value=NEVER) public class FacesMessages
A Seam component that TBD.
Constructor Summary | |
---|---|
FacesMessages()
|
Method Summary | |
---|---|
void |
add(javax.faces.application.FacesMessage.Severity severity,
String messageTemplate,
Object... params)
Add a templated FacesMessage that will be used the next time a page is rendered. |
void |
add(javax.faces.application.FacesMessage facesMessage)
Add a FacesMessage that will be used the next time a page is rendered. |
void |
add(org.hibernate.validator.InvalidValue iv)
|
void |
add(org.hibernate.validator.InvalidValue[] ivs)
|
void |
add(String messageTemplate,
Object... params)
Add a templated FacesMessage that will be used the next time a page is rendered. |
void |
addFromResourceBundle(javax.faces.application.FacesMessage.Severity severity,
String key,
Object... params)
Add a templated FacesMessage by looking for the message template in the resource bundle. |
void |
addFromResourceBundle(String key,
Object... params)
Add a templated FacesMessage by looking for the message template in the resource bundle. |
void |
addFromResourceBundleOrDefault(javax.faces.application.FacesMessage.Severity severity,
String key,
String defaultMessageTemplate,
Object... params)
Add a templated FacesMessage to a particular component id by looking for the message template in the resource bundle. |
void |
addFromResourceBundleOrDefault(String key,
String defaultMessageTemplate,
Object... params)
Add a templated FacesMessage to a particular component id by looking for the message template in the resource bundle. |
void |
addToControl(org.hibernate.validator.InvalidValue iv)
|
void |
addToControl(String id,
javax.faces.application.FacesMessage.Severity severity,
String messageTemplate,
Object... params)
Add a templated FacesMessage to a particular JSF control |
void |
addToControl(String id,
javax.faces.application.FacesMessage facesMessage)
Add a FacesMessage instance to a particular component id |
void |
addToControl(String id,
org.hibernate.validator.InvalidValue iv)
|
void |
addToControl(String id,
String messageTemplate,
Object... params)
Add a templated FacesMessage to a particular JSF control |
void |
addToControlFromResourceBundle(String id,
javax.faces.application.FacesMessage.Severity severity,
String key,
Object... params)
Add a templated FacesMessage to a particular component id by looking for the message template in the resource bundle. |
void |
addToControlFromResourceBundle(String id,
String key,
Object... params)
Add a templated FacesMessage to a particular component id by looking for the message template in the resource bundle. |
void |
addToControlFromResourceBundleOrDefault(String id,
javax.faces.application.FacesMessage.Severity severity,
String key,
String defaultMessageTemplate,
Object... params)
Add a templated FacesMessage to a particular component id by looking for the message template in the resource bundle. |
void |
addToControlFromResourceBundleOrDefault(String id,
String key,
String defaultMessageTemplate,
Object... params)
Add a templated FacesMessage to a particular component id by looking for the message template in the resource bundle. |
void |
addToControls(org.hibernate.validator.InvalidValue[] ivs)
|
static void |
afterPhase()
|
void |
beforeRenderResponse()
|
void |
clear()
|
static javax.faces.application.FacesMessage |
createFacesMessage(javax.faces.application.FacesMessage.Severity severity,
String messageTemplate,
Object... params)
|
static javax.faces.application.FacesMessage |
createFacesMessage(javax.faces.application.FacesMessage.Severity severity,
String key,
String defaultMessageTemplate,
Object... params)
|
List<javax.faces.application.FacesMessage> |
getCurrentGlobalMessages()
Get all faces global messages that have already been added to the context. |
List<javax.faces.application.FacesMessage> |
getCurrentMessages()
Get all faces messages that have already been added to the context. |
static FacesMessages |
instance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FacesMessages()
Method Detail |
---|
public void beforeRenderResponse()
public List<javax.faces.application.FacesMessage> getCurrentMessages()
public List<javax.faces.application.FacesMessage> getCurrentGlobalMessages()
public static void afterPhase()
public void clear()
public void add(javax.faces.application.FacesMessage facesMessage)
public void addToControl(String id, javax.faces.application.FacesMessage facesMessage)
id
- a JSF component idpublic void add(String messageTemplate, Object... params)
public void add(javax.faces.application.FacesMessage.Severity severity, String messageTemplate, Object... params)
public void addToControl(String id, String messageTemplate, Object... params)
id
- a JSF component idpublic void addToControl(String id, javax.faces.application.FacesMessage.Severity severity, String messageTemplate, Object... params)
id
- a JSF component idpublic void addFromResourceBundle(String key, Object... params)
public void addFromResourceBundle(javax.faces.application.FacesMessage.Severity severity, String key, Object... params)
public void addFromResourceBundleOrDefault(String key, String defaultMessageTemplate, Object... params)
public void addFromResourceBundleOrDefault(javax.faces.application.FacesMessage.Severity severity, String key, String defaultMessageTemplate, Object... params)
public void addToControlFromResourceBundle(String id, String key, Object... params)
public void addToControlFromResourceBundle(String id, javax.faces.application.FacesMessage.Severity severity, String key, Object... params)
public void addToControlFromResourceBundleOrDefault(String id, String key, String defaultMessageTemplate, Object... params)
public void addToControlFromResourceBundleOrDefault(String id, javax.faces.application.FacesMessage.Severity severity, String key, String defaultMessageTemplate, Object... params)
public void add(org.hibernate.validator.InvalidValue[] ivs)
public void addToControls(org.hibernate.validator.InvalidValue[] ivs)
public void add(org.hibernate.validator.InvalidValue iv)
public void addToControl(org.hibernate.validator.InvalidValue iv)
public void addToControl(String id, org.hibernate.validator.InvalidValue iv)
public static javax.faces.application.FacesMessage createFacesMessage(javax.faces.application.FacesMessage.Severity severity, String messageTemplate, Object... params)
public static javax.faces.application.FacesMessage createFacesMessage(javax.faces.application.FacesMessage.Severity severity, String key, String defaultMessageTemplate, Object... params)
public static FacesMessages instance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |