org.apache.struts.taglib
Class RadioTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--javax.servlet.jsp.tagext.BodyTagSupport
|
+--org.apache.struts.taglib.BaseHandlerTag
|
+--org.apache.struts.taglib.RadioTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public final class RadioTag
- extends BaseHandlerTag
Tag for input fields of type "radio".
- Version:
- $Revision: 1.11 $ $Date: 2001/05/20 01:19:06 $
- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
|
Field Summary |
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 server value for this option. |
| Fields inherited from class org.apache.struts.taglib.BaseHandlerTag |
accessKey, onBlur, onChange, onClick, onDblClick, onFocus, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onSelect, style, styleClass, styleId, tabIndex |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext, parent, values |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
Method Summary |
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. |
| Methods inherited from class 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, prepareFocusEvents, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setStyleId, setTabIndex |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
| Methods inherited from interface 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 server value for this option.
RadioTag
public RadioTag()
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.
- Parameters:
name - 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.
- Parameters:
value - The new server value
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Generate the required input tag.
- Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
- Throws:
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.
- Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred
release
public void release()
- Release any acquired resources.
- Overrides:
release in class BaseHandlerTag
Copyright © 2000-2002 - Apache Software Foundation