Class ParametrizableFacesMessage
java.lang.Object
jakarta.faces.application.FacesMessage
org.apache.myfaces.core.api.shared.ParametrizableFacesMessage
- All Implemented Interfaces:
Serializable
This class encapsulates a FacesMessage to evaluate the label
expression on render response, where f:loadBundle is available
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jakarta.faces.application.FacesMessage
FacesMessage.Severity -
Field Summary
Fields inherited from class jakarta.faces.application.FacesMessage
FACES_MESSAGES, SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO, SEVERITY_WARN, VALUES, VALUES_MAP -
Constructor Summary
ConstructorsConstructorDescriptionParametrizableFacesMessage(FacesMessage.Severity severity, String summary, String detail, Object[] args, Locale locale) ParametrizableFacesMessage(String summary, String detail, Object[] args, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionReturn the localized summary text.voidSet the localized detail text.voidsetSummary(String summary) Set the localized summary text.Methods inherited from class jakarta.faces.application.FacesMessage
equals, getSeverity, hashCode, isRendered, rendered, setSeverity, toString
-
Constructor Details
-
ParametrizableFacesMessage
-
ParametrizableFacesMessage
public ParametrizableFacesMessage(FacesMessage.Severity severity, String summary, String detail, Object[] args, Locale locale)
-
-
Method Details
-
getDetail
- Overrides:
getDetailin classFacesMessage- Returns:
-
setDetail
Description copied from class:FacesMessageSet the localized detail text.- Overrides:
setDetailin classFacesMessage- Parameters:
detail- - The new localized detail text
-
getUnformattedDetail
-
getSummary
Description copied from class:FacesMessageReturn the localized summary text.- Overrides:
getSummaryin classFacesMessage
-
setSummary
Description copied from class:FacesMessageSet the localized summary text.- Overrides:
setSummaryin classFacesMessage- Parameters:
summary- - The new localized summary text
-
getUnformattedSummary
-