IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.struts.taglib.html
Class ErrorsTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.ibm.btt.struts.taglib.html.ErrorsTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ErrorsTag
extends javax.servlet.jsp.tagext.TagSupport

See Also:
Serialized Form

Field Summary
protected  java.lang.String bundle
           
protected static java.util.Locale defaultLocale
          Deprecated. Use Locale.getDefault() directly.
protected static java.lang.String lineEnd
          The line ending string.
protected  java.lang.String locale
          The session attribute key for our locale.
protected static org.apache.struts.util.MessageResources messages
          The message resources for this package.
protected  java.lang.String name
          The request attribute key for our error messages (if any).
 Context processCtx
           
protected  java.lang.String property
          The name of the property for which error messages should be returned, or null to return all errors.
 
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()
          Render the specified error messages if there are any.
 java.lang.String getBundle()
           
 java.lang.String getLocale()
           
 java.lang.String getName()
           
 java.lang.Object getProcessCtx(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getProcessId(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getProperty()
           
 java.lang.String getStringValue(java.lang.String name)
           
 void release()
          Release any acquired resources.
 void setBundle(java.lang.String bundle)
           
 void setLocale(java.lang.String locale)
           
 void setName(java.lang.String name)
           
 void setProperty(java.lang.String property)
           
 
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
 

Field Detail

bundle

protected java.lang.String bundle

processCtx

public Context processCtx

defaultLocale

protected static java.util.Locale defaultLocale
Deprecated. Use Locale.getDefault() directly.

The default locale on our server.


lineEnd

protected static java.lang.String lineEnd
The line ending string.


locale

protected java.lang.String locale
The session attribute key for our locale.


messages

protected static org.apache.struts.util.MessageResources messages
The message resources for this package.


name

protected java.lang.String name
The request attribute key for our error messages (if any).


property

protected java.lang.String property
The name of the property for which error messages should be returned, or null to return all errors.

Constructor Detail

ErrorsTag

public ErrorsTag()
Method Detail

getBundle

public java.lang.String getBundle()

setBundle

public void setBundle(java.lang.String bundle)

getLocale

public java.lang.String getLocale()

setLocale

public void setLocale(java.lang.String locale)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getProperty

public java.lang.String getProperty()

setProperty

public void setProperty(java.lang.String property)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Render the specified error messages if there are any.

Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.


getProcessId

public java.lang.String getProcessId(javax.servlet.http.HttpServletRequest request)

getProcessCtx

public java.lang.Object getProcessCtx(javax.servlet.http.HttpServletRequest request)

getStringValue

public java.lang.String getStringValue(java.lang.String name)

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005