@Generated(value="component.stg") public class UIMessages extends AbstractUIMessages implements javax.faces.component.behavior.ClientBehaviorHolder
component.stg with class
MessagesTagDeclaration.AbstractUIMessages.Item| 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.
|
boolean |
isConfirmation()
Has the user to confirm this message?
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
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) |
createMessageListgetFor, isGlobalOnly, isRedisplay, isShowDetail, isShowSummary, setFor, setGlobalOnly, setRedisplay, setShowDetail, setShowSummaryaddClientBehavior, 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, visitTreegetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClientBehavior, getClientBehaviors, getDefaultEventName, getEventNamesgetRendererType, isPlainpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class javax.faces.component.UIMessagespublic javax.faces.application.FacesMessage.Severity getMinSeverity()
infogetMinSeverity in class AbstractUIMessagespublic void setMinSeverity(javax.faces.application.FacesMessage.Severity minSeverity)
public Integer getMaxNumber()
2147483647getMaxNumber in class AbstractUIMessagespublic 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 Visualpublic void setCustomClass(CustomClass customClass)
setCustomClass in interface Visualpublic OrderBy getOrderBy()
occurrenceoccurrence,severitygetOrderBy in class AbstractUIMessagespublic void setOrderBy(OrderBy orderBy)
public boolean isConfirmation()
falseisConfirmation in class AbstractUIMessagespublic void setConfirmation(boolean confirmation)
public javax.faces.application.FacesMessage.Severity getMaxSeverity()
fatalgetMaxSeverity in class AbstractUIMessagespublic void setMaxSeverity(javax.faces.application.FacesMessage.Severity maxSeverity)
public void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBaseCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.