org.apache.struts.taglib
Class CancelTag

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

public final class CancelTag
extends BaseHandlerTag

Tag for input fields of type "cancel".

Version:
$Revision: 1.4 $ $Date: 2000/07/17 16:37:45 $
Author:
Jeff Hutchinson

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

private static MessageResources messages
The message resources for this package.

property

private java.lang.String property
The property name of the generated button.

value

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

CancelTag

public CancelTag()
Method Detail

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 property 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