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

All Superinterfaces:
HasBinding, HasFor, HasId, HasIdBindingAndRendered, IsRendered, JspTag, Tag, TobagoTagDeclaration
All Known Implementing Classes:
MessagesTag

public interface MessagesTagDeclaration
extends TobagoTagDeclaration, HasIdBindingAndRendered, HasFor

Renders error/validation messages.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Method Summary
 void setConfirmation(String confirmation)
          Should the user confirm the message explicitly.
 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 javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsRendered
setRendered
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasFor
setFor
 

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)
Should the user confirm the message explicitly.



Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.