org.apache.struts.taglib
クラス OptionTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--javax.servlet.jsp.tagext.BodyTagSupport
|
+--org.apache.struts.taglib.OptionTag
- すべての実装インタフェース:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public final class OptionTag
- extends javax.servlet.jsp.tagext.BodyTagSupport
Tag for select options. The body of this tag is presented to the user
in the option list, while the value attribute is the value returned to
the server if this option is selected.
- バージョン:
- $Revision: 1.4 $ $Date: 2000/08/01 20:03:34 $
- 作成者:
- Craig R. McClanahan
- 関連項目:
- 直列化された形式
|
フィールドの概要 |
protected static MessageResources |
messages
The message resources for this package. |
private java.lang.String |
value
The server value for this option. |
| クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したフィールド |
bodyContent |
| クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド |
id, pageContext |
| インタフェース javax.servlet.jsp.tagext.BodyTag から継承したフィールド |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド |
EVAL_BODY_AGAIN |
| インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
メソッドの概要 |
int |
doEndTag()
Process the end of this tag. |
int |
doStartTag()
Process the start of this tag. |
java.lang.String |
getValue()
Return the server value. |
void |
release()
Release any acquired resources. |
void |
setValue(java.lang.String value)
Set the server value. |
| クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したメソッド |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド |
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.Tag から継承したメソッド |
getParent, setPageContext, setParent |
messages
protected static MessageResources messages
- The message resources for this package.
value
private java.lang.String value
- The server value for this option.
OptionTag
public OptionTag()
getValue
public java.lang.String getValue()
- Return the server value.
setValue
public void setValue(java.lang.String value)
- Set the server value.
- パラメータ:
value - The new server value
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Process the start of this tag.
- 定義:
- インタフェース
javax.servlet.jsp.tagext.Tag 内の doStartTag - オーバーライド:
- クラス
javax.servlet.jsp.tagext.BodyTagSupport 内の doStartTag
- 例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Process the end of this tag.
- 定義:
- インタフェース
javax.servlet.jsp.tagext.Tag 内の doEndTag - オーバーライド:
- クラス
javax.servlet.jsp.tagext.BodyTagSupport 内の doEndTag
- 例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred
release
public void release()
- Release any acquired resources.
- 定義:
- インタフェース
javax.servlet.jsp.tagext.Tag 内の release - オーバーライド:
- クラス
javax.servlet.jsp.tagext.BodyTagSupport 内の release
このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2002 - Apache Software Foundation