Class MessageListener
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIMessages
-
- de.xima.fc.gui.component.messagelistener.MessageListener
-
- All Implemented Interfaces:
EventListener
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,org.primefaces.component.api.UINotification
public class MessageListener extends javax.faces.component.UIMessages implements org.primefaces.component.api.UINotification
Helper JSF component that can be used to listen to faces messages.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageListener.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
static String
COMPONENT_TYPE
static String
DEFAULT_RENDERER
-
Constructor Summary
Constructors Constructor Description MessageListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFamily()
javax.el.MethodExpression
getListener()
String
getOnMessage()
String
getSeverity()
boolean
isMarkMessagesAsRendered()
boolean
isSkipDetailIfEqualsSummary()
void
setListener(javax.el.MethodExpression Listener)
void
setMarkMessagesAsRendered(boolean markMessagesAsRendered)
void
setOnMessage(String onMessage)
void
setSeverity(String severity)
void
setSkipDetailIfEqualsSummary(boolean skipDetailIfEqualsSummary)
-
Methods inherited from class javax.faces.component.UIMessages
getFor, isGlobalOnly, isRedisplay, isShowDetail, isShowSummary, setFor, setGlobalOnly, setRedisplay, setShowDetail, setShowSummary
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Overrides:
getFamily
in classjavax.faces.component.UIMessages
-
getListener
public javax.el.MethodExpression getListener()
-
getOnMessage
public String getOnMessage()
-
getSeverity
public String getSeverity()
- Specified by:
getSeverity
in interfaceorg.primefaces.component.api.UINotification
-
isMarkMessagesAsRendered
public boolean isMarkMessagesAsRendered()
-
isSkipDetailIfEqualsSummary
public boolean isSkipDetailIfEqualsSummary()
- Specified by:
isSkipDetailIfEqualsSummary
in interfaceorg.primefaces.component.api.UINotification
-
setListener
public void setListener(javax.el.MethodExpression Listener)
-
setMarkMessagesAsRendered
public void setMarkMessagesAsRendered(boolean markMessagesAsRendered)
-
setOnMessage
public void setOnMessage(String onMessage)
-
setSeverity
public void setSeverity(String severity)
-
setSkipDetailIfEqualsSummary
public void setSkipDetailIfEqualsSummary(boolean skipDetailIfEqualsSummary)
-
-