Class TableTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.BrowserInfoTag
org.deltava.taglib.html.ElementTag
org.deltava.taglib.html.TableTag
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
- 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 org.deltava.taglib.html.ElementTag
_classes, _data, _out
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
doEndTag()
Closes this TABLE element by writing a >/TABLE< tag.int
Opens this TABLE element by writing a >TABLE< tag.void
Sets the WIDTH value for this table.Methods inherited from class org.deltava.taglib.html.ElementTag
getFormIndexCount, getName, getParentFormTag, release, setClassName, setID, setNumericAttr, setPageContext, setStyle
Methods inherited from class org.deltava.taglib.BrowserInfoTag
getBrowserContext
Methods inherited from class javax.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
Opens this TABLE element by writing a >TABLE< tag.- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classElementTag
- Throws:
JspException
- if an error occurs
-
doEndTag
Closes this TABLE element by writing a >/TABLE< tag.- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classTagSupport
- Throws:
JspException
- if an I/O error occurs
-