Interface MessagesTagDeclaration
- All Superinterfaces:
HasBinding
,HasFor
,HasId
,HasIdBindingAndRendered
,IsRendered
,IsVisual
Renders error/validation messages.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setConfirmation
(String confirmation) Has the user to confirm this message?void
setGlobalOnly
(String globalOnly) Flag indicating that only messages that are not associated to any particular UIComponent should be displayed.void
setMaxNumber
(String maxNumber) Sets the maximum number of messages to show.void
setMaxSeverity
(String maxSeverity) Sets the maximum severity to be shown.void
setMinSeverity
(String minSeverity) Sets the mininum severity to be shown.void
setOrderBy
(String orderBy) Sets the order of the messages.void
setShowDetail
(String showDetail) Flag indicating whether the detail should be includedvoid
setShowSummary
(String showSummary) Flag indicating whether the summary should be includedMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBinding
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasFor
setFor
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRendered
Methods 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.
-