|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.taglib.ErrorsTag
Custom tag that renders error messages if an appropriate request attribute has been created. The tag looks for a request attribute with a reserved key, and assumes that it is either a String, or a String array, containing message keys to be looked up in the application's MessageResources.
The following optional message keys will be utilized if corresponding messages exist for them in the application resources:
| フィールドの概要 | |
private static java.util.Locale |
defaultLocale
The default locale on our server. |
private java.lang.String |
name
Name of the request scope attribute containing our error messages, if any. |
| クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド |
id, pageContext |
| インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド |
EVAL_BODY_AGAIN |
| インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| コンストラクタの概要 | |
ErrorsTag()
|
|
| メソッドの概要 | |
int |
doStartTag()
Render the specified error messages if there are any. |
java.lang.String |
getName()
Return the errors attribute name. |
void |
release()
Release any acquired resources. |
void |
setName(java.lang.String name)
Set the errors attribute name. |
| クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース javax.servlet.jsp.tagext.IterationTag から継承したメソッド |
|
| フィールドの詳細 |
private static java.util.Locale defaultLocale
private java.lang.String name
| コンストラクタの詳細 |
public ErrorsTag()
| メソッドの詳細 |
public java.lang.String getName()
public void setName(java.lang.String name)
name - The new errors attribute name
public int doStartTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if a JSP exception has occurredpublic void release()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||