org.apache.struts.taglib
クラス MultiboxTag

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

public final class MultiboxTag
extends BaseHandlerTag

Tag for input fields of type "checkbox". This differs from CheckboxTag because it assumes that the underlying property is an array getter (of any supported primitive type, or String), and the checkbox is initialized to "checked" if the value listed for the "value" attribute is present in the values returned by the property getter.

バージョン:
$Revision: 1.1.1.1 $ $Date: 2003/03/11 13:38:38 $
作成者:
Ralph Schaer, Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
protected static MessageResources messages
          The message resources for this package.
private  java.lang.String name
          The name of the bean containing our underlying property.
private  java.lang.String property
          The property name for this field.
private  java.lang.String value
          The value which will mark this checkbox as "checked" if present in the array returned by our property getter.
 
クラス org.apache.struts.taglib.BaseHandlerTag から継承したフィールド
accessKey, tabIndex
 
クラス 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
 
コンストラクタの概要
MultiboxTag()
           
 
メソッドの概要
 int doEndTag()
          Optionally render the associated label from the body content.
 int doStartTag()
          Generate the required input tag.
 java.lang.String getName()
           
 java.lang.String getProperty()
          Return the property name.
 java.lang.String getValue()
          Return the server value.
 void release()
          Release any acquired resources.
 void setName(java.lang.String name)
           
 void setProperty(java.lang.String property)
          Set the property name.
 void setValue(java.lang.String value)
          Set the server value.
 
クラス org.apache.struts.taglib.BaseHandlerTag から継承したメソッド
getAccessKey, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getStyleClass, getStyleId, getTabIndex, prepareEventHandlers, prepareStyles, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setStyleId, setTabIndex
 
クラス 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.BodyTag から継承したメソッド
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したメソッド
getParent, setPageContext, setParent
 

フィールドの詳細

messages

protected static MessageResources messages
The message resources for this package.


name

private java.lang.String name
The name of the bean containing our underlying property.


property

private java.lang.String property
The property name for this field.


value

private java.lang.String value
The value which will mark this checkbox as "checked" if present in the array returned by our property getter.

コンストラクタの詳細

MultiboxTag

public MultiboxTag()
メソッドの詳細

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getProperty

public java.lang.String getProperty()
Return the property name.


setProperty

public void setProperty(java.lang.String property)
Set the property name.

パラメータ:
property - The new property name

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
Generate the required input tag.

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

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Optionally render the associated label from the body content.

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

release

public void release()
Release any acquired resources.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の release
オーバーライド:
クラス BaseHandlerTag 内の release


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