org.apache.myfaces.tobago.taglib.component
Class MessagesTag
java.lang.Object
javax.faces.webapp.UIComponentTag
org.apache.myfaces.tobago.taglib.component.TobagoTag
org.apache.myfaces.tobago.taglib.component.MessagesTag
- All Implemented Interfaces:
- Tag, MessagesTagDeclaration, TobagoTagDeclaration, HasBinding, HasFor, HasId, HasIdBindingAndRendered, IsRendered
public class MessagesTag
- extends TobagoTag
- implements MessagesTagDeclaration
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag |
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getRendererType, getTitle, getWidth, setDisabled, setHeight, setHidden, setInline, setLabel, setReadonly, setTitle, setWidth |
Methods inherited from class javax.faces.webapp.UIComponentTag |
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId |
setId |
MessagesTag
public MessagesTag()
getComponentType
public String getComponentType()
- Specified by:
getComponentType
in class UIComponentTag
setProperties
protected void setProperties(UIComponent component)
- Overrides:
setProperties
in class TobagoTag
release
public void release()
- Specified by:
release
in interface Tag
- Overrides:
release
in class TobagoTag
getFor
public String getFor()
setFor
public void setFor(String forComponent)
- Description copied from interface:
HasFor
- Id of the component, this is related to.
- Specified by:
setFor
in interface HasFor
setGlobalOnly
public void setGlobalOnly(String globalOnly)
- Description copied from interface:
MessagesTagDeclaration
- 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".
- Specified by:
setGlobalOnly
in interface MessagesTagDeclaration
setShowSummary
public void setShowSummary(String showSummary)
- Description copied from interface:
MessagesTagDeclaration
- Flag indicating whether the summary should be included
The default is "true".
- Specified by:
setShowSummary
in interface MessagesTagDeclaration
setShowDetail
public void setShowDetail(String showDetail)
- Description copied from interface:
MessagesTagDeclaration
- Flag indicating whether the detail should be included
The default is "false".
- Specified by:
setShowDetail
in interface MessagesTagDeclaration
setMinSeverity
public void setMinSeverity(String minSeverity)
- Description copied from interface:
MessagesTagDeclaration
- Sets the mininum severity to be shown. E. g. "warn" shows only "warn", "error" and "fatal".
The default is "info".
- Specified by:
setMinSeverity
in interface MessagesTagDeclaration
setMaxSeverity
public void setMaxSeverity(String maxSeverity)
- Description copied from interface:
MessagesTagDeclaration
- 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".
- Specified by:
setMaxSeverity
in interface MessagesTagDeclaration
setMaxNumber
public void setMaxNumber(String maxNumber)
- Description copied from interface:
MessagesTagDeclaration
- Sets the maximum number of messages to show.
The default is 2147483647 (more or less unlimited).
- Specified by:
setMaxNumber
in interface MessagesTagDeclaration
setOrderBy
public void setOrderBy(String orderBy)
- Description copied from interface:
MessagesTagDeclaration
- Sets the order of the messages.
The default "occurence".
- Specified by:
setOrderBy
in interface MessagesTagDeclaration
Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.