|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.apache.struts.taglib.OptionsTag
Tag for creating multiple <select> options from a collection. The associated values displayed to the user may optionally be specified by a second collection, or will be the same as the values themselves. Each collection may be an array of objects, a Collection, an Iterator, or a Map. NOTE - This tag requires a Java2 (JDK 1.2 or later) platform.
| フィールドの概要 | |
private java.lang.String |
labelName
The name of the bean containing the labels collection. |
private java.lang.String |
labelProperty
The bean property containing the labels collection. |
protected static MessageResources |
messages
The message resources for this package. |
private java.lang.String |
name
The name of the bean containing the values collection. |
private java.lang.String |
property
The name of the property to use to build the values collection. |
| クラス 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 |
| コンストラクタの概要 | |
OptionsTag()
|
|
| メソッドの概要 | |
int |
doEndTag()
Process the end of this tag. |
int |
doStartTag()
Process the start of this tag. |
private java.util.Iterator |
getIterator(java.lang.String name,
java.lang.String property)
Return an iterator for the option labels or values, based on our configured properties. |
java.lang.String |
getLabelName()
|
java.lang.String |
getLabelProperty()
|
java.lang.String |
getName()
|
java.lang.String |
getProperty()
|
void |
release()
Release any acquired resources. |
void |
setLabelName(java.lang.String labelName)
|
void |
setLabelProperty(java.lang.String labelProperty)
|
void |
setName(java.lang.String name)
|
void |
setProperty(java.lang.String property)
|
| クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected static MessageResources messages
private java.lang.String labelName
private java.lang.String labelProperty
private java.lang.String name
private java.lang.String property
| コンストラクタの詳細 |
public OptionsTag()
| メソッドの詳細 |
public java.lang.String getLabelName()
public void setLabelName(java.lang.String labelName)
public java.lang.String getLabelProperty()
public void setLabelProperty(java.lang.String labelProperty)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getProperty()
public void setProperty(java.lang.String property)
public int doStartTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.tagext.Tag 内の doStartTagjavax.servlet.jsp.tagext.TagSupport 内の doStartTagjavax.servlet.jsp.JspException - if a JSP exception has occurred
public int doEndTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.tagext.Tag 内の doEndTagjavax.servlet.jsp.tagext.TagSupport 内の doEndTagjavax.servlet.jsp.JspException - if a JSP exception has occurredpublic void release()
javax.servlet.jsp.tagext.Tag 内の releasejavax.servlet.jsp.tagext.TagSupport 内の release
private java.util.Iterator getIterator(java.lang.String name,
java.lang.String property)
throws javax.servlet.jsp.JspException
name - Name of the bean attribute (if any)property - Name of the bean property (if any)
javax.servlet.jsp.JspException - if an error occurs
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||