org.dbforms.taglib
Class DbDataContainerLabelTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.dbforms.taglib.AbstractScriptHandlerTag
org.dbforms.taglib.AbstractDbBaseHandlerTag
org.dbforms.taglib.DbDataContainerLabelTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally, IDataContainer
public class DbDataContainerLabelTag
- extends AbstractDbBaseHandlerTag
- implements IDataContainer, javax.servlet.jsp.tagext.TryCatchFinally
this tag renders a dabase-datadriven LABEL, which is a passive element (it
can't be changed by the user) - it is predestinated for use with read-only
data (i.e. primary keys you don't want the user to change, etc) so far it
is equivalent to DbLabelTag. But this tag may have a body containing any
kind of EmbeddedData - tag. i put this feature into a seperate class for
performance reasons (we do not want the overhead of pushing and poping the
jsp writer to and off the stack
- Author:
- Joachim Peer
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
int |
doEndTag()
DOCUMENT ME! |
void |
doFinally()
DOCUMENT ME! |
String |
getStrict()
DOCUMENT ME! |
void |
setEmbeddedData(List embeddedData)
This method is a "hookup" for EmbeddedData - Tags which can assign the
lines of data they loaded (by querying a database, or by rendering
data-subelements, etc. etc.) and make the data available to this tag. |
void |
setStrict(String string)
DOCUMENT ME! |
Methods inherited from class org.dbforms.taglib.AbstractDbBaseHandlerTag |
customFormat, escapeHTML, getCustomFormatter, getDefaultValue, getEscaper, getEscaperClass, getField, getFieldObject, getFieldValue, getFormattedFieldValue, getFormatter, getFormFieldDefaultValue, getFormFieldName, getFormFieldValue, getLocale, getMaxlength, getName, getParentForm, getPattern, getReadOnlyStyleClass, getStyleClass, hasReadOnlySet, renderOldValueHtmlInputField, renderPatternHtmlInputField, setCustomFormatter, setDefaultValue, setEscaperClass, setField, setFieldName, setMaxlength, setNullFieldValue, setParent, setPattern, setReadOnly, setReadOnlyStyleClass, typicalDefaultValue, writeOutSpecialValues |
Methods inherited from class org.dbforms.taglib.AbstractScriptHandlerTag |
doCatch, getAccessKey, getConfig, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getTabIndex, getTitle, prepareEventHandlers, prepareStyles, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setTabIndex, setTitle |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.TryCatchFinally |
doCatch |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext |
DbDataContainerLabelTag
public DbDataContainerLabelTag()
setEmbeddedData
public void setEmbeddedData(List embeddedData)
- This method is a "hookup" for EmbeddedData - Tags which can assign the
lines of data they loaded (by querying a database, or by rendering
data-subelements, etc. etc.) and make the data available to this tag.
[this method is defined in Interface DataContainer]
- Specified by:
setEmbeddedData
in interface IDataContainer
- Parameters:
embeddedData
- DOCUMENT ME!
setStrict
public void setStrict(String string)
- DOCUMENT ME!
- Parameters:
string
-
getStrict
public String getStrict()
- DOCUMENT ME!
- Returns:
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- DOCUMENT ME!
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
- Returns:
- DOCUMENT ME!
- Throws:
javax.servlet.jsp.JspException
- DOCUMENT ME!
javax.servlet.jsp.JspException
- DOCUMENT ME!
doFinally
public void doFinally()
- DOCUMENT ME!
- Specified by:
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
- Overrides:
doFinally
in class AbstractDbBaseHandlerTag
- See Also:
TryCatchFinally.doFinally()
Copyright © 2002-2006 DbForms. All Rights Reserved.