Schnittstelle MessagesTagDeclaration
- Alle Superschnittstellen:
HasBinding,HasFor,HasId,HasIdBindingAndRendered,IsRendered,IsVisual
Renders error/validation messages.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidsetConfirmation(String confirmation) Has the user to confirm this message?voidsetGlobalOnly(String globalOnly) Flag indicating that only messages that are not associated to any particular UIComponent should be displayed.voidsetMaxNumber(String maxNumber) Sets the maximum number of messages to show.voidsetMaxSeverity(String maxSeverity) Sets the maximum severity to be shown.voidsetMinSeverity(String minSeverity) Sets the mininum severity to be shown.voidsetOrderBy(String orderBy) Sets the order of the messages.voidsetShowDetail(String showDetail) Flag indicating whether the detail should be includedvoidsetShowSummary(String showSummary) Flag indicating whether the summary should be includedVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBindingVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasFor
setForVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasId
setIdVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRenderedVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual
setCustomClass, setMarkup
-
Methodendetails
-
setGlobalOnly
Flag indicating that only messages that are not associated to any particular UIComponent should be displayed. That are messages without clientId. -
setShowDetail
Flag indicating whether the detail should be included -
setShowSummary
Flag indicating whether the summary should be included -
setMinSeverity
Sets the mininum severity to be shown. E. g. "warn" shows only "warn", "error" and "fatal". -
setMaxSeverity
Sets the maximum severity to be shown. E. g. "warn" shows only "warn" and "info". When setting this attribute you usually shoud take care, that you have a second message tag to show the higher severity levels. -
setMaxNumber
Sets the maximum number of messages to show. -
setOrderBy
Sets the order of the messages. -
setConfirmation
Has the user to confirm this message? This attributes handles the case, if the application wants to warn the user about a problem, and the user has to confirm the message before he/she can continue.
-