Apache Struts API Documentation: Class NestedFormTag

Apache Struts API


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

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.apache.struts.taglib.html.FormTag
              |
              +--org.apache.struts.taglib.nested.html.NestedFormTag
All Implemented Interfaces:
NestedNameSupport, NestedPropertySupport, NestedTagSupport, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class NestedFormTag
extends FormTag
implements NestedNameSupport

NestedFormTag.

Since:
Struts 1.1
Version:
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
See Also:
Serialized Form

Field Summary
protected  java.lang.String name
          The name
private  java.lang.String originalNesting
           
private  java.lang.String originalNestingName
           
 
Fields inherited from class org.apache.struts.taglib.html.FormTag
acceptCharset, action, beanName, beanScope, beanType, disabled, enctype, focus, focusIndex, lineEnd, mapping, messages, method, moduleConfig, onreset, onsubmit, readonly, scriptLanguage, servlet, style, styleClass, styleId, target
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext, parent, values
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
NestedFormTag()
           
 
Method Summary
 int doEndTag()
          This is only overriden to clean up the include reference
 int doStartTag()
          Overriding to allow the chance to set the details of the system, so that dynamic includes can be possible
 java.lang.String getName()
          Return the name.
 java.lang.String getProperty()
          Get the string value of the "property" property.
 void release()
          Release the tag's resources and reset the values.
 void setName(java.lang.String name)
          Set the name.
 void setProperty(java.lang.String newProperty)
          Setter for the "property" property
 
Methods inherited from class org.apache.struts.taglib.html.FormTag
getAcceptCharset, getAction, getBeanName, getEnctype, getFocus, getFocusIndex, getMethod, getOnreset, getOnsubmit, getScriptLanguage, getStyle, getStyleClass, getStyleId, getTarget, initFormBean, isDisabled, isReadonly, isXhtml, lookup, renderAction, renderAttribute, renderFocusJavascript, renderFormStartElement, renderName, renderOtherAttributes, renderToken, setAcceptCharset, setAction, setDisabled, setEnctype, setFocus, setFocusIndex, setMethod, setOnreset, setOnsubmit, setReadonly, setScriptLanguage, setStyle, setStyleClass, setStyleId, setTarget
 
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
 

Field Detail

name

protected java.lang.String name
The name

originalNesting

private java.lang.String originalNesting

originalNestingName

private java.lang.String originalNestingName
Constructor Detail

NestedFormTag

public NestedFormTag()
Method Detail

getName

public java.lang.String getName()
Return the name.
Specified by:
getName in interface NestedNameSupport
Following copied from interface: org.apache.struts.taglib.nested.NestedNameSupport
Returns:
String value of the tags' name property

setName

public void setName(java.lang.String name)
Set the name.
Specified by:
setName in interface NestedNameSupport
Parameters:
name - The new name

getProperty

public java.lang.String getProperty()
Get the string value of the "property" property.
Specified by:
getProperty in interface NestedPropertySupport
Returns:
the property property

setProperty

public void setProperty(java.lang.String newProperty)
Setter for the "property" property
Specified by:
setProperty in interface NestedPropertySupport
Parameters:
newProperty - new value for the property

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Overriding to allow the chance to set the details of the system, so that dynamic includes can be possible
Overrides:
doStartTag in class FormTag
Returns:
int JSP continuation directive.

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
This is only overriden to clean up the include reference
Overrides:
doEndTag in class FormTag
Returns:
int JSP continuation directive.

release

public void release()
Release the tag's resources and reset the values.
Overrides:
release in class FormTag


Copyright © 2000-2005 - The Apache Software Foundation