com.ivata.mask.web.tag.html
Class ErrorsTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.struts.taglib.html.ErrorsTag
          extended bycom.ivata.mask.web.tag.html.ErrorsTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ErrorsTag
extends org.apache.struts.taglib.html.ErrorsTag

The standard Struts errors tag does not output anything if the error message is missing. This override puts out the message key in this case.

Since:
ivata groupware 0.11 (2005-Mar-29)
Version:
$Revision: 1.1 $
Author:
Colin MacLeod colin.macleod@ivata.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.taglib.html.ErrorsTag
bundle, defaultLocale, lineEnd, locale, messages, name, property
 
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
ErrorsTag()
           
 
Method Summary
 int doStartTag()
          Overridden from the Struts tag to output error messages even if there is no message.
 
Methods inherited from class org.apache.struts.taglib.html.ErrorsTag
getBundle, getLocale, getName, getProperty, release, setBundle, setLocale, setName, setProperty
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, 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

ErrorsTag

public ErrorsTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Overridden from the Struts tag to output error messages even if there is no message.

Returns:
always returns EVAL_BODY_INCLUDE.
Throws:
javax.servlet.jsp.JspException - If there is any problem writing out the messages.
See Also:
Tag.doStartTag()


Copyright © 2001-2005 ivata limited. All Rights Reserved.