Uses of Class
jakarta.faces.application.FacesMessage
-
-
Uses of FacesMessage in com.sun.faces.config.initfacescontext
Methods in com.sun.faces.config.initfacescontext that return types with arguments of type FacesMessage Modifier and Type Method Description List<FacesMessage>NoOpFacesContext. getMessageList()List<FacesMessage>NoOpFacesContext. getMessageList(String clientId)Iterator<FacesMessage>NoOpFacesContext. getMessages()Iterator<FacesMessage>NoOpFacesContext. getMessages(String clientId)Methods in com.sun.faces.config.initfacescontext with parameters of type FacesMessage Modifier and Type Method Description voidNoOpFacesContext. addMessage(String clientId, FacesMessage message) -
Uses of FacesMessage in com.sun.faces.context
Methods in com.sun.faces.context that return types with arguments of type FacesMessage Modifier and Type Method Description List<FacesMessage>FacesContextImpl. getMessageList()List<FacesMessage>FacesContextImpl. getMessageList(String clientId)Iterator<FacesMessage>FacesContextImpl. getMessages()Iterator<FacesMessage>FacesContextImpl. getMessages(String clientId)Methods in com.sun.faces.context with parameters of type FacesMessage Modifier and Type Method Description voidFacesContextImpl. addMessage(String clientId, FacesMessage message) -
Uses of FacesMessage in com.sun.faces.ext.component
Methods in com.sun.faces.ext.component that return FacesMessage Modifier and Type Method Description static FacesMessageMessageFactory. getMessage(FacesContext context, String messageId, Object... params)Creates and returns a FacesMessage for the specified Locale. -
Uses of FacesMessage in com.sun.faces.facelets.compiler
Methods in com.sun.faces.facelets.compiler that return types with arguments of type FacesMessage Modifier and Type Method Description List<FacesMessage>CompilationMessageHolder. getNamespacePrefixMessages(FacesContext context, String prefix)List<FacesMessage>CompilationMessageHolderImpl. getNamespacePrefixMessages(FacesContext context, String prefix) -
Uses of FacesMessage in com.sun.faces.util
Methods in com.sun.faces.util that return FacesMessage Modifier and Type Method Description static FacesMessageMessageUtils. getExceptionMessage(String messageId, Object... params)Creates a newFacesMessageinstance using the specified #messageId.static FacesMessageMessageFactory. getMessage(FacesContext context, String messageId, FacesMessage.Severity severity, Object... params)static FacesMessageMessageFactory. getMessage(FacesContext context, String messageId, Object... params)Creates and returns a FacesMessage for the specified Locale.static FacesMessageMessageFactory. getMessage(String messageId, FacesMessage.Severity severity, Object... params)static FacesMessageMessageFactory. getMessage(String messageId, Object... params)This version of getMessage() is used for localizing implementation specific messages.static FacesMessageMessageFactory. getMessage(Locale locale, String messageId, FacesMessage.Severity severity, Object... params)static FacesMessageMessageFactory. getMessage(Locale locale, String messageId, Object... params)Creates and returns a FacesMessage for the specified Locale. -
Uses of FacesMessage in jakarta.faces.component
Methods in jakarta.faces.component that return FacesMessage Modifier and Type Method Description FacesMessageUpdateModelException. getFacesMessage()Return theFacesMessagepassed to the constructor.Constructors in jakarta.faces.component with parameters of type FacesMessage Constructor Description UpdateModelException(FacesMessage facesMessage, Throwable cause)Store the argumentfacesMessageso it may be returned fromUpdateModelException.getFacesMessage()and pass the argumentcauseto the super constructor. -
Uses of FacesMessage in jakarta.faces.context
Methods in jakarta.faces.context that return types with arguments of type FacesMessage Modifier and Type Method Description List<FacesMessage>FacesContext. getMessageList()LikeFacesContext.getMessages(), but returns aList<FacesMessage>, enabling use from Jakarta Expression Language expressions.List<FacesMessage>FacesContext. getMessageList(String clientId)LikeFacesContext.getMessages(java.lang.String), but returns aList<FacesMessage>of messages for the component with client id matching argumentclientId.List<FacesMessage>FacesContextWrapper. getMessageList()The default behavior of this method is to callFacesContext.getMessageList()on the wrappedFacesContextobject.List<FacesMessage>FacesContextWrapper. getMessageList(String clientId)The default behavior of this method is to callFacesContext.getMessageList(String)on the wrappedFacesContextobject.abstract Iterator<FacesMessage>FacesContext. getMessages()Return anIteratorover theFacesMessages that have been queued, whether or not they are associated with any specific client identifier.abstract Iterator<FacesMessage>FacesContext. getMessages(String clientId)Return anIteratorover theFacesMessages that have been queued that are associated with the specified client identifier (ifclientIdis notnull), or over theFacesMessages that have been queued that are not associated with any specific client identifier (ifclientIdisnull).Iterator<FacesMessage>FacesContextWrapper. getMessages()The default behavior of this method is to callFacesContext.getMessages()on the wrappedFacesContextobject.Iterator<FacesMessage>FacesContextWrapper. getMessages(String clientId)The default behavior of this method is to callFacesContext.getMessages(String)on the wrappedFacesContextobject.Methods in jakarta.faces.context with parameters of type FacesMessage Modifier and Type Method Description abstract voidFacesContext. addMessage(String clientId, FacesMessage message)Append aFacesMessageto the set of messages associated with the specified client identifier, ifclientIdis notnull.voidFacesContextWrapper. addMessage(String clientId, FacesMessage message)The default behavior of this method is to callFacesContext.addMessage(String, FacesMessage)on the wrappedFacesContextobject. -
Uses of FacesMessage in jakarta.faces.convert
Methods in jakarta.faces.convert that return FacesMessage Modifier and Type Method Description FacesMessageConverterException. getFacesMessage()Returns the FacesMessage associated with this exception; this will only be available if the converter that thew this exception instance placed it there.Constructors in jakarta.faces.convert with parameters of type FacesMessage Constructor Description ConverterException(FacesMessage message)Construct a new exception with the specified detail message and no root cause.ConverterException(FacesMessage message, Throwable cause)Construct a new exception with the specified detail message and root cause. -
Uses of FacesMessage in jakarta.faces.validator
Methods in jakarta.faces.validator that return FacesMessage Modifier and Type Method Description FacesMessageValidatorException. getFacesMessage()Returns theFacesMessageassociated with the exception.Methods in jakarta.faces.validator that return types with arguments of type FacesMessage Modifier and Type Method Description Collection<FacesMessage>ValidatorException. getFacesMessages()If this instance was created with a constructor that takesCollection<FacesMessage>, this method returns the passed collection, otherwise this method returnsnull.Constructors in jakarta.faces.validator with parameters of type FacesMessage Constructor Description ValidatorException(FacesMessage message)Construct a new exception with the specified message and no root cause.ValidatorException(FacesMessage message, Throwable cause)Construct a new exception with the specified detail message and root cause.Constructor parameters in jakarta.faces.validator with type arguments of type FacesMessage Constructor Description ValidatorException(Collection<FacesMessage> messages)Allow this one exception to contain multiple messages.ValidatorException(Collection<FacesMessage> messages, Throwable cause)Allow this one exception to contain multiple messages, while passing on the root cause to the superclass
-