Interface MessagesTagDeclaration
- All Superinterfaces:
- HasBinding,- HasFor,- HasId,- HasIdBindingAndRendered,- IsRendered,- IsVisual
Renders error/validation messages.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetConfirmation(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 includedMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBindingsetBindingMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasForsetForMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRenderedsetRenderedMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsVisualsetCustomClass, setMarkup
- 
Method Details- 
setGlobalOnlyFlag indicating that only messages that are not associated to any particular UIComponent should be displayed. That are messages without clientId.
- 
setShowDetailFlag indicating whether the detail should be included
- 
setShowSummaryFlag indicating whether the summary should be included
- 
setMinSeveritySets the mininum severity to be shown. E. g. "warn" shows only "warn", "error" and "fatal".
- 
setMaxSeveritySets 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.
- 
setMaxNumberSets the maximum number of messages to show.
- 
setOrderBySets the order of the messages.
- 
setConfirmationHas 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.
 
-