Class Hidden
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- net.sf.basedb.clients.web.taglib.table.Hidden
-
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
public class Hidden extends TagSupport
This tag defines a hidden input element that should be included in the form. It should be placed inside the<tbl:table>
tag.Syntax:
<tbl:hidden name=... value=... skip=true|false >
Tag attributes Attribute Default value Required Description name - yes The name of the hidden element. value (empty string) no The value of the hidden element. skip false no If hidden element should be included in the form or not. The
<tbl:hidden>
doesn't have any subtags.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private String
name
The name of the element.private static long
serialVersionUID
private boolean
skip
If the hidden element should be included or not.private Table
table
The parent <tbl:table> tag.private String
value
The value of the element.-
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 Constructor Description Hidden()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
String
getName()
String
getValue()
boolean
isSkip()
void
setName(String name)
void
setSkip(boolean skip)
void
setValue(String value)
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
table
private Table table
The parent <tbl:table> tag.
-
name
private String name
The name of the element.
-
value
private String value
The value of the element.
-
skip
private boolean skip
If the hidden element should be included or not.
-
-
Method Detail
-
setName
public void setName(String name)
-
getName
public String getName()
-
setValue
public void setValue(String value)
-
getValue
public String getValue()
-
setSkip
public void setSkip(boolean skip)
-
isSkip
public boolean isSkip()
-
doStartTag
public int doStartTag() throws JspException
- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classTagSupport
- Throws:
JspException
-
-