Expresso 5-6

com.jcorporate.expresso.ext.taglib
Class ErrorTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.jcorporate.expresso.ext.taglib.ExpressoTagSupport
          extended bycom.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

Field Summary
 
Fields inherited from class com.jcorporate.expresso.ext.taglib.ExpressoTagSupport
ctlrResp, response
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ErrorTag()
           
 
Method Summary
 int doEndTag()
          Standard doEndTag.
 int doStartTag()
          Do nothing until end tag.
 String getName()
          Setter method for Name.
 String getProperty()
           
 void setClass(String newClass)
           
 void setName(String newName)
          Insert the method's description here.
 void setProperty(String newProperty)
           
 
Methods inherited from class com.jcorporate.expresso.ext.taglib.ExpressoTagSupport
getAncestor, getContainer, getControllerResponse, getResponse, setResponse
 
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
 

Constructor Detail

ErrorTag

public ErrorTag()
Method Detail

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)

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.