com.jcorporate.expresso.ext.taglib
Class ErrorTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.jcorporate.expresso.ext.taglib.ExpressoTagSupport
com.jcorporate.expresso.ext.taglib.ErrorTag
- All Implemented Interfaces:
- IterationTag, Serializable, Tag
- public class ErrorTag
- extends ExpressoTagSupport
The ErrorTag renders an Expresso ErrorCollection on a page.
The error list is rendered as an html unordered (bulleted) list.
The errors are displayed in the order they where saved to the
ErrorCollection. The "class" attribute can be set to control
the style of the list items.
- Author:
- Adam Rossi
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorTag
public ErrorTag()
doEndTag
public int doEndTag()
throws JspTagException
- Standard doEndTag.
- Returns:
- int
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Do nothing until end tag.
- Returns:
- int
- Throws:
JspTagException - The exception description.
getName
public String getName()
- Setter method for Name.
- Returns:
- java.lang.String
getProperty
public String getProperty()
setName
public void setName(String newName)
- Insert the method's description here.
Creation date: (12/29/2000 %r)
- Parameters:
newName - java.lang.String
setProperty
public void setProperty(String newProperty)
setClass
public void setClass(String newClass)
Please see www.jcorporate.com for information about new Expresso releases.