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 |
---|---|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getFamily() |
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?
|
void |
setConfirmation(boolean confirmation) |
void |
setCustomClass(CustomClass customClass) |
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, saveState, 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 javax.faces.application.FacesMessage.Severity getMinSeverity()
info
getMinSeverity
in class AbstractUIMessages
public void setMinSeverity(javax.faces.application.FacesMessage.Severity minSeverity)
public Integer getMaxNumber()
2147483647
getMaxNumber
in class AbstractUIMessages
public void setMaxNumber(Integer maxNumber)
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 OrderBy getOrderBy()
occurrence
occurrence,severity
getOrderBy
in class AbstractUIMessages
public void setOrderBy(OrderBy orderBy)
public Style getStyle()
public boolean isConfirmation()
false
public void setConfirmation(boolean confirmation)
public javax.faces.application.FacesMessage.Severity getMaxSeverity()
fatal
getMaxSeverity
in class AbstractUIMessages
public void setMaxSeverity(javax.faces.application.FacesMessage.Severity maxSeverity)
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.