Module org.apache.myfaces.tobago
Interface MessagesTagDeclaration
- All Superinterfaces:
HasBinding,HasFor,HasId,HasIdBindingAndRendered,IsRendered,IsVisual
Renders error/validation messages.
-
Method Summary
Modifier 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.HasBinding
setBindingMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasFor
setForMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRenderedMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual
setCustomClass, setMarkup
-
Method Details
-
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.
-