agonism.dovetail.taglibs
Class Option

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

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

This class implements an option input. The value displayed by the option 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
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
Option()
           
 
Method Summary
 int doStartTag()
           
 void release()
           
 void setAttributes(java.util.Map attributes)
           
 void setFormElement(FormElement fe)
           
 void setText(java.lang.String text)
           
 
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

Option

public Option()
Method Detail

setFormElement

public void setFormElement(FormElement fe)

setAttributes

public void setAttributes(java.util.Map attributes)

setText

public void setText(java.lang.String text)

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