org.apache.myfaces.tobago.taglib.component
Class MessagesTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.tobago.taglib.component.TobagoTag
          extended by org.apache.myfaces.tobago.taglib.component.MessagesTag
All Implemented Interfaces:
JspTag, Tag, MessagesTagDeclaration, TobagoTagDeclaration, HasBinding, HasFor, HasId, HasIdBindingAndRendered, IsRendered

public class MessagesTag
extends TobagoTag
implements MessagesTagDeclaration


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
MessagesTag()
           
 
Method Summary
 java.lang.String getComponentType()
           
 java.lang.String getFor()
           
 void release()
           
 void setConfirmation(java.lang.String confirmation)
          Should the user confirm the message explicitly.
 void setFor(java.lang.String forComponent)
          Id of the component, this is related to.
 void setGlobalOnly(java.lang.String globalOnly)
          Flag indicating that only messages that are not associated to any particular UIComponent should be displayed.
 void setMaxNumber(java.lang.String maxNumber)
          Sets the maximum number of messages to show.
 void setMaxSeverity(java.lang.String maxSeverity)
          Sets the maximum severity to be shown.
 void setMinSeverity(java.lang.String minSeverity)
          Sets the mininum severity to be shown.
 void setOrderBy(java.lang.String orderBy)
          Sets the order of the messages.
protected  void setProperties(UIComponent component)
           
 void setShowDetail(java.lang.String showDetail)
          Flag indicating whether the detail should be included
 void setShowSummary(java.lang.String showSummary)
          Flag indicating whether the summary should be included
 
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 javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, 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
 

Constructor Detail

MessagesTag

public MessagesTag()
Method Detail

getComponentType

public java.lang.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 java.lang.String getFor()

setFor

public void setFor(java.lang.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(java.lang.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.

Specified by:
setGlobalOnly in interface MessagesTagDeclaration

setShowSummary

public void setShowSummary(java.lang.String showSummary)
Description copied from interface: MessagesTagDeclaration
Flag indicating whether the summary should be included

Specified by:
setShowSummary in interface MessagesTagDeclaration

setShowDetail

public void setShowDetail(java.lang.String showDetail)
Description copied from interface: MessagesTagDeclaration
Flag indicating whether the detail should be included

Specified by:
setShowDetail in interface MessagesTagDeclaration

setMinSeverity

public void setMinSeverity(java.lang.String minSeverity)
Description copied from interface: MessagesTagDeclaration
Sets the mininum severity to be shown. E. g. "warn" shows only "warn", "error" and "fatal".

Specified by:
setMinSeverity in interface MessagesTagDeclaration

setMaxSeverity

public void setMaxSeverity(java.lang.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.

Specified by:
setMaxSeverity in interface MessagesTagDeclaration

setMaxNumber

public void setMaxNumber(java.lang.String maxNumber)
Description copied from interface: MessagesTagDeclaration
Sets the maximum number of messages to show.

Specified by:
setMaxNumber in interface MessagesTagDeclaration

setOrderBy

public void setOrderBy(java.lang.String orderBy)
Description copied from interface: MessagesTagDeclaration
Sets the order of the messages.

Specified by:
setOrderBy in interface MessagesTagDeclaration

setConfirmation

public void setConfirmation(java.lang.String confirmation)
Description copied from interface: MessagesTagDeclaration
Should the user confirm the message explicitly.

Specified by:
setConfirmation in interface MessagesTagDeclaration


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