net.sf.basedb.clients.web.taglib.table
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
>
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 |
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. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
Hidden
public Hidden()
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 interface Tag
- Overrides:
doStartTag
in class TagSupport
- Throws:
JspException