org.apache.struts.taglib.nested.html
Class NestedSubmitTag

java.lang.Object
  extended byBodyTagSupport
      extended byorg.apache.struts.taglib.html.BaseHandlerTag
          extended byorg.apache.struts.taglib.html.SubmitTag
              extended byorg.apache.struts.taglib.nested.html.NestedSubmitTag
All Implemented Interfaces:
NestedPropertySupport, NestedTagSupport

public class NestedSubmitTag
extends SubmitTag
implements NestedPropertySupport

NestedSubmitTag.

Since:
Struts 1.1
Version:
$Revision: 1.8 $ $Date: 2004/03/14 06:23:50 $
See Also:
Serialized Form

Field Summary
private  java.lang.String originalProperty
           
 
Fields inherited from class org.apache.struts.taglib.html.SubmitTag
messages, property, text, value
 
Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag
accesskey, defaultLocale, indexed, tabindex
 
Constructor Summary
NestedSubmitTag()
           
 
Method Summary
 int doEndTag()
          Complete the processing of the tag.
 int doStartTag()
          Overriding method of the heart of the matter.
 void release()
          Release the tag's resources and reset the values.
 
Methods inherited from class org.apache.struts.taglib.html.SubmitTag
doAfterBody, getProperty, getValue, setProperty, setValue
 
Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag
getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getIndexed, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.struts.taglib.nested.NestedPropertySupport
getProperty, setProperty
 

Field Detail

originalProperty

private java.lang.String originalProperty
Constructor Detail

NestedSubmitTag

public NestedSubmitTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Overriding method of the heart of the matter. Gets the relative property and leaves the rest up to the original tag implementation. Sweet.

Overrides:
doStartTag in class SubmitTag
Returns:
int JSP continuation directive. This is in the hands of the super class.
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Complete the processing of the tag. The nested tags here will restore all the original value for the tag itself and the nesting context.

Overrides:
doEndTag in class SubmitTag
Returns:
int to describe the next step for the JSP processor
Throws:
JspException - for the bad things JSP's do

release

public void release()
Release the tag's resources and reset the values.

Overrides:
release in class SubmitTag


Copyright ? 2000-2006 - The Apache Software Foundation