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

java.lang.Object
  extended byTagSupport
      extended byorg.apache.struts.taglib.html.OptionsTag
          extended byorg.apache.struts.taglib.nested.html.NestedOptionsTag
All Implemented Interfaces:
NestedNameSupport, NestedPropertySupport, NestedTagSupport

public class NestedOptionsTag
extends OptionsTag
implements NestedNameSupport

NestedOptionsTag.

Since:
Struts 1.1
Version:
$Revision: 1.6 $ $Date: 2003/02/28 05:15:06 $
Author:
Arron Bates
See Also:
Serialized Form

Field Summary
private  java.lang.String originalLabelProperty
           
private  java.lang.String originalName
           
private  java.lang.String originalProperty
           
 
Fields inherited from class org.apache.struts.taglib.html.OptionsTag
collection, filter, labelName, labelProperty, messages, name, property
 
Constructor Summary
NestedOptionsTag()
           
 
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.OptionsTag
addOption, getCollection, getFilter, getIterator, getLabelName, getLabelProperty, getName, getProperty, getStyle, getStyleClass, setCollection, setFilter, setLabelName, setLabelProperty, setName, setProperty, setStyle, setStyleClass
 
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.NestedNameSupport
getName, setName
 
Methods inherited from interface org.apache.struts.taglib.nested.NestedPropertySupport
getProperty, setProperty
 

Field Detail

originalName

private java.lang.String originalName

originalProperty

private java.lang.String originalProperty

originalLabelProperty

private java.lang.String originalLabelProperty
Constructor Detail

NestedOptionsTag

public NestedOptionsTag()
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 OptionsTag
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 OptionsTag
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 OptionsTag


Copyright © 2000-2004 - Apache Software Foundation