Class UIMessage

java.lang.Object
All Implemented Interfaces:
PartialStateHolder, StateHolder, TransientStateHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder, EventListener
Direct Known Subclasses:
HtmlMessage

public class UIMessage extends UIComponentBase

This component is responsible for displaying messages for a specific UIComponent, identified by a clientId or component id relative to the closest ancestor NamingContainer. The component obtains the messages from the FacesContext.

By default, the rendererType property must be set to "jakarta.faces.Message". This value can be changed by calling the setRendererType() method.