org.apache.struts.taglib
Class SubmitTag

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

public final class SubmitTag
extends BaseHandlerTag

Tag for input fields of type "submit".

Version:
$Revision: 1.6 $ $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 property
          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
SubmitTag()
           
 
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.
 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

protected static MessageResources messages
The message resources for this package.

property

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

value

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

SubmitTag

public SubmitTag()
Method Detail

getProperty

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

setProperty

public void setProperty(java.lang.String property)
Set the property name.
Parameters:
property - 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