javax.faces.component.behavior.ClientBehaviorHolder
, Visual
@Generated("component.stg") public class UIMessages extends AbstractUIMessages implements javax.faces.component.behavior.ClientBehaviorHolder, Visual
component.stg
with class
MessagesTagDeclaration
.AbstractUIMessages.Item
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
COMPONENT_FAMILY |
|
static java.lang.String |
COMPONENT_TYPE |
Constructor | Description |
---|---|
UIMessages() |
Modifier and Type | Method | Description |
---|---|---|
CustomClass |
getCustomClass() |
Sets a CSS class in its parent, if the parent supports it.
|
java.lang.String |
getFamily() |
|
Markup |
getMarkup() |
|
java.lang.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.
|
boolean |
isConfirmation() |
Has the user to confirm this message?
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
|
void |
setConfirmation(boolean confirmation) |
|
void |
setCustomClass(CustomClass customClass) |
|
void |
setMarkup(Markup markup) |
|
void |
setMaxNumber(java.lang.Integer maxNumber) |
|
void |
setMaxSeverity(javax.faces.application.FacesMessage.Severity maxSeverity) |
|
void |
setMinSeverity(javax.faces.application.FacesMessage.Severity minSeverity) |
|
void |
setOrderBy(OrderBy orderBy) |
createMessageList
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
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, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getFor, isGlobalOnly, isRedisplay, isShowDetail, isShowSummary, setFor, setGlobalOnly, setRedisplay, setShowDetail, setShowSummary
getRendererType
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
public java.lang.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 java.lang.Integer getMaxNumber()
2147483647
getMaxNumber
in class AbstractUIMessages
public void setMaxNumber(java.lang.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 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)
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in class javax.faces.component.UIComponentBase
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.