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:
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
 String getComponentType()
           
 String getFor()
           
 void release()
           
 void setFor(String forComponent)
          Id of the component, this is related to.
 void setGlobalOnly(String globalOnly)
          Flag indicating that only messages that are not associated to any particular UIComponent should be displayed.
protected  void setProperties(UIComponent component)
           
 
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 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


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