org.apache.struts.faces.taglib
Class ErrorsTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.struts.faces.taglib.AbstractFacesTag
          extended by org.apache.struts.faces.taglib.ErrorsTag
All Implemented Interfaces:
Tag

public class ErrorsTag
extends AbstractFacesTag

Render a set of validation or business logic error messages, for the Struts-Faces Integration Library.

Version:
$Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $

Field Summary
protected  String property
          The property name for which to report errors.
 
Fields inherited from class org.apache.struts.faces.taglib.AbstractFacesTag
bundle, style, styleClass, value
 
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
ErrorsTag()
           
 
Method Summary
 String getComponentType()
          Return the type of component to be created for this tag.
 String getRendererType()
          Return the rendererType to be used for rendering our component.
 void release()
          Release any variables allocated during use of this tag instance.
protected  void setProperties(javax.faces.component.UIComponent component)
          Override attributes set on this tag instance.
 void setProperty(String property)
           
 
Methods inherited from class org.apache.struts.faces.taglib.AbstractFacesTag
setBooleanAttribute, setBundle, setIntegerAttribute, setStringAttribute, setStyle, setStyleClass, setValue
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, getPathToComponent, 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
 

Field Detail

property

protected String property

The property name for which to report errors.

Constructor Detail

ErrorsTag

public ErrorsTag()
Method Detail

setProperty

public void setProperty(String property)

getComponentType

public String getComponentType()

Return the type of component to be created for this tag.

Specified by:
getComponentType in class AbstractFacesTag

getRendererType

public String getRendererType()

Return the rendererType to be used for rendering our component.

Specified by:
getRendererType in class AbstractFacesTag

release

public void release()

Release any variables allocated during use of this tag instance.

Specified by:
release in interface Tag
Overrides:
release in class AbstractFacesTag

setProperties

protected void setProperties(javax.faces.component.UIComponent component)

Override attributes set on this tag instance.

Overrides:
setProperties in class AbstractFacesTag
Parameters:
component - Component whose attributes should be overridden


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