org.apache.struts.taglib
Class ResetTag

org.apache.struts.taglib.BaseHandlerTag
  |
  +--org.apache.struts.taglib.ResetTag

public final class ResetTag
extends BaseHandlerTag

Tag for input fields of type "reset".

Version:
$Revision: 1.5 $ $Date: 2000/07/17 16:37:51 $
Author:
Craig R. McClanahan

Field Summary
protected static MessageResources messages
          The message resources for this package.
private  java.lang.String name
          The name of the generated input field.
private  java.lang.String value
          The value of the button label.
 
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
 
Constructor Summary
ResetTag()
           
 
Method Summary
 int doEndTag()
          Process the end of this tag.
 int doStartTag()
          Process the start of this tag.
 java.lang.String getName()
          Return the field name.
 java.lang.String getValue()
          Return the label value.
 void release()
          Release any acquired resources.
 void setName(java.lang.String name)
          Set the field name.
 void setValue(java.lang.String value)
          Set the label 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
 

Field Detail

messages

protected static MessageResources messages
The message resources for this package.

name

private java.lang.String name
The name of the generated input field.

value

private java.lang.String value
The value of the button label.
Constructor Detail

ResetTag

public ResetTag()
Method Detail

getName

public java.lang.String getName()
Return the field name.

setName

public void setName(java.lang.String name)
Set the field name.
Parameters:
name - The field name

getValue

public java.lang.String getValue()
Return the label value.

setValue

public void setValue(java.lang.String value)
Set the label value.
Parameters:
value - The label value

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start of this tag.
Throws:
JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the end of this tag.
Throws:
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