public class UIMessages extends AbstractUIMessages implements Visual
component.stg
with class
MessagesTagDeclaration
.AbstractUIMessages.Item, AbstractUIMessages.ItemComparator
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UIMessages() |
Modifier and Type | Method and Description |
---|---|
Markup |
getCurrentMarkup() |
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getFamily() |
String |
getGlobalOnly()
Flag indicating that only messages that are not associated to any
particular UIComponent should be displayed.
|
Markup |
getMarkup() |
Integer |
getMaxNumber()
Sets the maximum number of messages to show.
|
javax.faces.application.FacesMessage.Severity |
getMaxSeverity()
Sets the maximum severity to be shown.
|
javax.faces.application.FacesMessage.Severity |
getMinSeverity()
Sets the mininum severity to be shown.
|
OrderBy |
getOrderBy()
Sets the order of the messages.
|
Style |
getStyle()
For internal use.
|
boolean |
isConfirmation()
Has the user to confirm this message?
|
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setConfirmation(boolean confirmation) |
void |
setCurrentMarkup(Markup currentMarkup) |
void |
setCustomClass(CustomClass customClass) |
void |
setGlobalOnly(String globalOnly) |
void |
setMarkup(Markup markup) |
void |
setMaxNumber(Integer maxNumber) |
void |
setMaxSeverity(javax.faces.application.FacesMessage.Severity maxSeverity) |
void |
setMinSeverity(javax.faces.application.FacesMessage.Severity minSeverity) |
void |
setOrderBy(OrderBy orderBy) |
void |
setStyle(Style style) |
createMessageList
getFor, isGlobalOnly, isRedisplay, isShowDetail, isShowSummary, setFor, setGlobalOnly, setRedisplay, setShowDetail, setShowSummary
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRendererType
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIMessages
public String getGlobalOnly()
false
public void setGlobalOnly(String globalOnly)
public OrderBy getOrderBy()
occurrence
occurrence,severity
getOrderBy
in class AbstractUIMessages
public void setOrderBy(OrderBy orderBy)
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
getCustomClass
in interface Visual
public void setCustomClass(CustomClass customClass)
setCustomClass
in interface Visual
public javax.faces.application.FacesMessage.Severity getMaxSeverity()
fatal
getMaxSeverity
in class AbstractUIMessages
public void setMaxSeverity(javax.faces.application.FacesMessage.Severity maxSeverity)
public javax.faces.application.FacesMessage.Severity getMinSeverity()
info
getMinSeverity
in class AbstractUIMessages
public void setMinSeverity(javax.faces.application.FacesMessage.Severity minSeverity)
public Style getStyle()
public boolean isConfirmation()
false
public void setConfirmation(boolean confirmation)
public Markup getCurrentMarkup()
getCurrentMarkup
in interface Visual
public void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup
in interface Visual
public Integer getMaxNumber()
2147483647
getMaxNumber
in class AbstractUIMessages
public void setMaxNumber(Integer maxNumber)
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.