public class Row extends StylableTag
<tbl:rows>
tag.
Syntax:
<tbl:row id=... clazz=... style=... highlight=... visible=true|false >
Attribute | Default value | Required | Description |
id | - | no |
The ID of the row. The value of this attribute
goes directly into the standard HTML id attribute.
This means that if you need a reference to the table object in your own
JavaScript code, you may for example use the following code:
row = document.getElementById('<id>'); |
clazz | - | no |
The value if this attribute goes directly into the standard HTML
class attribute. This allows you to apply different styles
to different tables.
|
style | - | no |
The value if this attribute goes directly into the standard HTML
style attribute. This allows you to apply different styles
to different tables.
|
highlight | highlight | no | Optionall class name that is applied when the mouse is over the current row. |
visible | true | no | If the row should be visible or not. |
The <tbl:row>
may contain the following subtags:
<tbl:cell>
: Creates a new cell in the row
Modifier and Type | Field and Description |
---|---|
private Data |
data
The parent <tbl:data> tag.
|
private String |
highlight
Optional
class attribute that is applied when the mouse is over the current row. |
private static long |
serialVersionUID |
private Table |
table
The parent <tbl:table> tag.
|
private boolean |
visible
If the row should be visible or not.
|
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
Row() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag() |
String |
getHighlight() |
(package private) Table |
getTable() |
boolean |
isVisible() |
void |
setHightligh(String highlight) |
void |
setVisible(boolean visible) |
addDynamicAttributes, addIdAndStyles, getClazz, getDynamicActionAttributes, getDynamicAttribute, getFullClass, getIdPrefix, getStyle, getSubclass, setClazz, setDynamicAttribute, setMoreDynamicAttributes, setPageContext, setStyle, setSubclass
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue
private static final long serialVersionUID
private Table table
private Data data
private String highlight
class
attribute that is applied when the mouse is over the current row.private boolean visible
public void setHightligh(String highlight)
public String getHighlight()
public void setVisible(boolean visible)
public boolean isVisible()
Table getTable()
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException