org.apache.struts.taglib.html
クラス OptionTag

java.lang.Object
  拡張javax.servlet.jsp.tagext.TagSupport
      拡張javax.servlet.jsp.tagext.BodyTagSupport
          拡張org.apache.struts.taglib.html.OptionTag
すべての実装インタフェース:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public 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.1.1.1 $ $Date: 2003/03/11 13:38:38 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
protected  java.lang.String bundle
          The name of the servlet context attribute containing our message resources.
protected static java.util.Locale defaultLocale
          The default locale for our server.
protected  boolean disabled
          Is this option disabled?
protected  java.lang.String key
          The key used to look up the text displayed to the user for this option, if any.
protected  java.lang.String locale
          The name of the attribute containing the Locale to be used for looking up internationalized messages.
protected static MessageResources messages
          The message resources for this package.
private  java.lang.String style
          The style associated with this tag.
private  java.lang.String styleClass
          The named style class associated with this tag.
protected  java.lang.String text
          The message text to be displayed to the user for this tag (if any)
protected  java.lang.String value
          The server value for this option, also used to match against the current property value to determine whether this option should be marked as selected.
 
クラス 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
 
コンストラクタの概要
OptionTag()
           
 
メソッドの概要
 int doAfterBody()
          Process the body text of this tag (if any).
 int doEndTag()
          Process the end of this tag.
 int doStartTag()
          Process the start of this tag.
 java.lang.String getBundle()
           
 boolean getDisabled()
           
 java.lang.String getKey()
           
 java.lang.String getLocale()
           
 java.lang.String getStyle()
           
 java.lang.String getStyleClass()
           
 java.lang.String getValue()
           
 void release()
          Release any acquired resources.
 void setBundle(java.lang.String bundle)
           
 void setDisabled(boolean disabled)
           
 void setKey(java.lang.String key)
           
 void setLocale(java.lang.String locale)
           
 void setStyle(java.lang.String style)
           
 void setStyleClass(java.lang.String styleClass)
           
 void setValue(java.lang.String value)
           
protected  java.lang.String text()
          Return the text to be displayed to the user for this option (if any).
 
クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したメソッド
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.BodyTag から継承したメソッド
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したメソッド
getParent, setPageContext, setParent
 

フィールドの詳細

defaultLocale

protected static final java.util.Locale defaultLocale
The default locale for our server.


messages

protected static MessageResources messages
The message resources for this package.


text

protected java.lang.String text
The message text to be displayed to the user for this tag (if any)


bundle

protected java.lang.String bundle
The name of the servlet context attribute containing our message resources.


disabled

protected boolean disabled
Is this option disabled?


key

protected java.lang.String key
The key used to look up the text displayed to the user for this option, if any.


locale

protected java.lang.String locale
The name of the attribute containing the Locale to be used for looking up internationalized messages.


style

private java.lang.String style
The style associated with this tag.


styleClass

private java.lang.String styleClass
The named style class associated with this tag.


value

protected java.lang.String value
The server value for this option, also used to match against the current property value to determine whether this option should be marked as selected.

コンストラクタの詳細

OptionTag

public OptionTag()
メソッドの詳細

getBundle

public java.lang.String getBundle()

setBundle

public void setBundle(java.lang.String bundle)

getDisabled

public boolean getDisabled()

setDisabled

public void setDisabled(boolean disabled)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

getLocale

public java.lang.String getLocale()

setLocale

public void setLocale(java.lang.String locale)

getStyle

public java.lang.String getStyle()

setStyle

public void setStyle(java.lang.String style)

getStyleClass

public java.lang.String getStyleClass()

setStyleClass

public void setStyleClass(java.lang.String styleClass)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start of this tag.

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

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Process the body text of this tag (if any).

例外:
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.JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.


text

protected java.lang.String text()
                         throws javax.servlet.jsp.JspException
Return the text to be displayed to the user for this option (if any).

例外:
javax.servlet.jsp.JspException - if an error occurs


このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2002 - Apache Software Foundation