|
||||||||||
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(String id,
javax.faces.application.FacesMessage.Severity severity,
String messageTemplate,
Object... params)
Add a templated FacesMessage to a particular component id |
void |
add(String id,
javax.faces.application.FacesMessage facesMessage)
Add a FacesMessage instance to a particular component id |
void |
add(String messageTemplate,
Object... params)
Add a templated FacesMessage that will be used the next time a page is rendered. |
void |
add(String id,
String messageTemplate,
Object... params)
Add a templated FacesMessage to a particular component id |
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(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 |
addFromResourceBundle(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 |
addFromResourceBundle(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 |
addFromResourceBundle(String key,
Object... params)
Add a templated FacesMessage by looking for the message template in the resource bundle. |
void |
addFromResourceBundle(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. |
static void |
afterPhase()
|
void |
beforeRenderResponse()
|
void |
clear()
|
static javax.faces.application.FacesMessage |
createFacesMessage(javax.faces.application.FacesMessage.Severity severity,
String messageTemplate,
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 add(String id, javax.faces.application.FacesMessage facesMessage)
id
- a JSF component idpublic void add(String id, String messageTemplate, Object... params)
id
- a JSF component idpublic void add(String id, javax.faces.application.FacesMessage.Severity severity, String messageTemplate, Object... params)
id
- a JSF component idpublic static FacesMessages instance()
public void add(String messageTemplate, Object... params)
public void add(javax.faces.application.FacesMessage.Severity severity, String messageTemplate, Object... params)
public void addFromResourceBundle(String key, Object... params)
public void addFromResourceBundle(javax.faces.application.FacesMessage.Severity severity, String key, Object... params)
public void addFromResourceBundle(String id, String key, Object... params)
public void addFromResourceBundle(String id, javax.faces.application.FacesMessage.Severity severity, String key, Object... params)
public void addFromResourceBundle(javax.faces.application.FacesMessage.Severity severity, String key, String defaultMessageTemplate, Object... params)
public void addFromResourceBundle(String id, javax.faces.application.FacesMessage.Severity severity, String key, String defaultMessageTemplate, Object... params)
public void add(org.hibernate.validator.InvalidValue iv)
public static javax.faces.application.FacesMessage createFacesMessage(javax.faces.application.FacesMessage.Severity severity, String messageTemplate, Object... params)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |