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 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 The default is "false".
 void setShowSummary(String showSummary)
          Flag indicating whether the summary should be included The default is "true".
 
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. The default is "false".


setShowDetail

void setShowDetail(String showDetail)
Flag indicating whether the detail should be included The default is "false".


setShowSummary

void setShowSummary(String showSummary)
Flag indicating whether the summary should be included The default is "true".


setMinSeverity

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


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. The default is "fatal".


setMaxNumber

void setMaxNumber(String maxNumber)
Sets the maximum number of messages to show. The default is 2147483647 (more or less unlimited).


setOrderBy

void setOrderBy(String orderBy)
Sets the order of the messages. The default "occurence".



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