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

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

public class NestedCheckboxTag
extends CheckboxTag
implements NestedNameSupport

NestedCheckboxTag.

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 originalName
           
private  java.lang.String originalProperty
           
 
Fields inherited from class org.apache.struts.taglib.html.CheckboxTag
messages, name, property, text, value
 
Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag
accesskey, defaultLocale, indexed, tabindex
 
Constructor Summary
NestedCheckboxTag()
           
 
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.CheckboxTag
doAfterBody, getName, getProperty, getValue, isChecked, setName, 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, prepareAttribute, 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.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
Constructor Detail

NestedCheckboxTag

public NestedCheckboxTag()
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 CheckboxTag
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 CheckboxTag
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 CheckboxTag


Copyright ? 2000-2009 - The Apache Software Foundation