agonism.dovetail.taglibs
Class Checkbox

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--agonism.dovetail.taglibs.Checkbox
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class Checkbox
extends javax.servlet.jsp.tagext.TagSupport

This class implements a checkbox input. The value displayed by the checkbox is bound to a FormElement, which in turn may be bound to a parameter value, query, session variable, or other data source via the Dovetail Site XML document.

Author:
Kevin Gilpin, Shawn Bayern
See Also:
Serialized Form

Field Summary
static org.log4j.Category C
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Checkbox()
           
 
Method Summary
 int doStartTag()
           
 void release()
           
 void setAttributes(java.util.Map attributes)
           
 void setCheckedValue(java.lang.Object value)
           
 void setFormElement(FormElement fe)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

C

public static final org.log4j.Category C
Constructor Detail

Checkbox

public Checkbox()
Method Detail

setFormElement

public void setFormElement(FormElement fe)

setCheckedValue

public void setCheckedValue(java.lang.Object value)

setAttributes

public void setAttributes(java.util.Map attributes)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

release

public void release()
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport