agonism.dovetail.taglibs
Class Label
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--agonism.dovetail.taglibs.Label
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class Label
- extends javax.servlet.jsp.tagext.TagSupport
This class implements a simple textual label. If the FormElement
to which this tag is bound is in turn bound to a database column which
does not allow nulls, the text label will be rendered in red with
a following asterisk. The label can also be forced to render as required
by setting the setIsRequired(boolean)
property.
- 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 |
Label()
|
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 |
C
public static final org.log4j.Category C
Label
public Label()
setText
public void setText(java.lang.String text)
setFormElement
public void setFormElement(FormElement fe)
setIsRequired
public void setIsRequired(boolean isRequired)
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