Class TableTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.deltava.taglib.BrowserInfoTag
org.deltava.taglib.html.ElementTag
org.deltava.taglib.html.TableTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable
- Direct Known Subclasses:
TableTag
A JSP tag to render HTML tables.
- Since:
- 1.0
- Version:
- 5.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class ElementTag
_classes, _data, _outFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoEndTag()Closes this TABLE element by writing a >/TABLE< tag.intOpens this TABLE element by writing a >TABLE< tag.voidSets the WIDTH value for this table.Methods inherited from class ElementTag
getFormIndexCount, getName, getParentFormTag, release, setClassName, setID, setNumericAttr, setPageContext, setStyleMethods inherited from class BrowserInfoTag
getBrowserContext, passedCAPTCHAMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
-
Constructor Details
-
TableTag
public TableTag()Creates a new Table tag.
-
-
Method Details
-
setWidth
Sets the WIDTH value for this table.- Parameters:
width- the width attribute value
-
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspExceptionOpens this TABLE element by writing a >TABLE< tag.- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classElementTag- Throws:
jakarta.servlet.jsp.JspException- if an error occurs
-
doEndTag
public int doEndTag() throws jakarta.servlet.jsp.JspExceptionCloses this TABLE element by writing a >/TABLE< tag.- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspException- if an I/O error occurs
-