java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIMessages
All Implemented Interfaces:
PartialStateHolder, ComponentSystemEventListener, SystemEventListenerHolder
Direct Known Subclasses:
HtmlMessages
The renderer for this component is responsible for obtaining the messages from the FacesContext and displaying them to the user.
This component supports the Messages
renderer-type.
By default, the rendererType
property must be set to
"javax.faces.Messages
". This value can be changed by
calling the setRendererType()
method.
Nested Class Summary: | ||
---|---|---|
enum class | UIMessages.PropertyKeys |
Field Summary | ||
---|---|---|
public static final String | COMPONENT_TYPE | The standard component type for this component. |
public static final String | COMPONENT_FAMILY | The standard component family for this component. |
Constructor: |
---|
Create a new UIMessages instance with default property values. |
Method from javax.faces.component.UIMessages Summary: |
---|
getFamily, getFor, isGlobalOnly, isRedisplay, isShowDetail, isShowSummary, setFor, setGlobalOnly, setRedisplay, setShowDetail, setShowSummary |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.faces.component.UIMessages Detail: |
---|
|
Return the client identifier of the component for which this component represents associated message(s) (if any). |
Return the flag indicating whether only global messages (that is, messages with no associated client identifier) should be rendered. Mutually exclusive with the "for" property which takes precedence. Defaults to false. |
|
Return the flag indicating whether the |
Return the flag indicating whether the |
Set the client identifier of the component for which this component represents associated message(s) (if any). This property must be set before the message is displayed. |
Set the flag indicating whether only global messages (that is, messages with no associated client identifier) should be rendered. |
Set the flag indicating whether the |
Set the flag indicating whether the |
Set the flag indicating whether the |