org.apache.myfaces.tobago.internal.taglib.component
Interface MessagesTagDeclaration

All Superinterfaces:
HasBinding, HasCurrentMarkup, HasFor, HasId, HasIdBindingAndRendered, HasMarkup, IsGridLayoutComponent, IsGridLayoutComponentBase, IsRendered

public interface MessagesTagDeclaration
extends HasIdBindingAndRendered, HasFor, IsGridLayoutComponent, HasMarkup, HasCurrentMarkup

Renders error/validation messages.


Method Summary
 void 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 included
 void setShowSummary(String showSummary)
          Flag indicating whether the summary should be included
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRendered
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasFor
setFor
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutComponent
setHeight, setWidth
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutComponentBase
setColumnSpan, setCurrentHeight, setCurrentWidth, setDisplay, setHorizontalIndex, setLeft, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setPreferredHeight, setPreferredWidth, setRowSpan, setTop, setVerticalIndex
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasMarkup
setMarkup
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasCurrentMarkup
setCurrentMarkup
 

Method Detail

setGlobalOnly

void setGlobalOnly(String globalOnly)
Flag indicating that only messages that are not associated to any particular UIComponent should be displayed. That are messages without clientId.


setShowDetail

void setShowDetail(String showDetail)
Flag indicating whether the detail should be included


setShowSummary

void setShowSummary(String showSummary)
Flag indicating whether the summary should be included


setMinSeverity

void setMinSeverity(String minSeverity)
Sets the mininum severity to be shown. E. g. "warn" shows only "warn", "error" and "fatal".


setMaxSeverity

void setMaxSeverity(String maxSeverity)
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

void setMaxNumber(String maxNumber)
Sets the maximum number of messages to show.


setOrderBy

void setOrderBy(String orderBy)
Sets the order of the messages.


setConfirmation

void setConfirmation(String confirmation)
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.



Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.