|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectSimpleTagSupport
AbstractSimpleTag
AbstractDataGridHtmlTag
Rows
public class Rows
The Rows tag is used to render a table row(s) that contain the data from a data set displayed
in a data grid. The rows rendered here render after the header reders with the Header and before
the footer renders in the Footer. The body of this tag usually contains the data grid's "cell" tags
which are used to render HTML table cells inside of the rows rendered by this tag. Such tags include:
AnchorCell which is used to render anchorsImageAnchorCell which is used to render clickable imagesImageCell which is used to render an imageSpanCell which is used to render an HTML span with data bound contentTemplateCell which can contain arbitrary content for SimpleTagThe attribute setters in this class are used to add attributes to the <tbody> tag which will be rendered when row groups are enabled. When row group rendering is disabled, attributes set here do not render.
Because this tag renders inside of an HTML table, it by default renders an HTML
<tr> tag to represent a table row. Table row tag rendering can be disabled using the setRenderRow(boolean)
attribute. When this is disabled, the page author is responsible for maintaining the integrity of the
HTML table by writing <tr> tags manually or by using the Row tag. When this tag is rendering
it does not produce table cells; the contents of the table row in the footer is entirely left to the
page author. With row rendering disabled, it is also possible to add multiple table rows to the
end of a data grid.
The set of JSP implicit objects available to the body include:
dataGridModel -- the DataGridTagModel
for the cell's containing data grid.
| Constructor Summary | |
|---|---|
Rows()
|
|
| Method Summary | |
|---|---|
void |
doTag()
Render this tag. |
String |
getTagName()
The name of this tag; this value is used for error reporting. |
void |
setAlign(String align)
Sets the value of the horizontal alignment attribute of the HTML tbody tag. |
void |
setChar(String alignChar)
Sets the value of the horizontal alignment character attribute of the HTML tbody tag. |
void |
setCharoff(String alignCharOff)
Sets the value of the horizontal alignment character offset attribute. |
void |
setDir(String dir)
Sets the value of the text direction attribute of the HTML tbody tag. |
void |
setLang(String lang)
Sets the value of the language attribute of the HTML tbody tag. |
void |
setOnClick(String onClick)
Sets the onClick JavaScript event for the HTML tbody tag. |
void |
setOnDblClick(String onDblClick)
Sets the onDblClick JavaScript event for the HTML tbody tag. |
void |
setOnKeyDown(String onKeyDown)
Sets the onKeyDown JavaScript event for the HTML tbody tag. |
void |
setOnKeyPress(String onKeyPress)
Sets the onKeyPress JavaScript event for the HTML tbody tag. |
void |
setOnKeyUp(String onKeyUp)
Sets the onKeyUp JavaScript event for the HTML tbody tag. |
void |
setOnMouseDown(String onMouseDown)
Sets the onMouseDown JavaScript event for the HTML tbody tag. |
void |
setOnMouseMove(String onMouseMove)
Sets the onMouseMove JavaScript event for the HTML tbody tag. |
void |
setOnMouseOut(String onMouseOut)
Sets the onMouseOut JavaScript event for the HTML tbody tag. |
void |
setOnMouseOver(String onMouseOver)
Sets the onMouseOver JavaScript event for the HTML tbody tag. |
void |
setOnMouseUp(String onMouseUp)
Sets the onMouseUp JavaScript event for the HTML tbody tag. |
void |
setRenderRow(boolean renderRow)
Set a boolean that enables / disables rendering HTML table rows by this tag. |
void |
setStyle(String style)
Sets the style of the HTML tbody tag. |
void |
setStyleClass(String styleClass)
Sets the style class of the HTML tbody tag. |
void |
setTagId(String tagId)
Set the name of the tagId for the HTML tbody tag. |
void |
setTitle(String title)
Sets the value of the title attribute for the HTML tbody tag. |
void |
setValign(String align)
Sets the value of the vertical alignment attribute of the HTML tbody tag. |
| Methods inherited from class AbstractDataGridHtmlTag |
|---|
applyIndexedTagId, applyTagId, lookupDataGridTagModel, renderDefaultNameAndId, renderNameAndId |
| Methods inherited from class AbstractSimpleTag |
|---|
getBufferBody, getHtmlTag, getIdForTagId, getInlineError, getPageContext, getScriptReporter, getUserLocale, hasErrors, registerTagError, registerTagError, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write |
| Methods inherited from class SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Rows()
| Method Detail |
|---|
public String getTagName()
getTagName in interface INetuiTaggetTagName in class AbstractSimpleTagpublic void setOnClick(String onClick)
setOnClick in interface IHtmlEventsonClick - the onClick event.public void setOnDblClick(String onDblClick)
setOnDblClick in interface IHtmlEventsonDblClick - the onDblClick event.public void setOnKeyDown(String onKeyDown)
setOnKeyDown in interface IHtmlEventsonKeyDown - the onKeyDown event.public void setOnKeyUp(String onKeyUp)
setOnKeyUp in interface IHtmlEventsonKeyUp - the onKeyUp event.public void setOnKeyPress(String onKeyPress)
setOnKeyPress in interface IHtmlEventsonKeyPress - the onKeyPress event.public void setOnMouseDown(String onMouseDown)
setOnMouseDown in interface IHtmlEventsonMouseDown - the onMouseDown event.public void setOnMouseUp(String onMouseUp)
setOnMouseUp in interface IHtmlEventsonMouseUp - the onMouseUp event.public void setOnMouseMove(String onMouseMove)
setOnMouseMove in interface IHtmlEventsonMouseMove - the onMouseMove event.public void setOnMouseOut(String onMouseOut)
setOnMouseOut in interface IHtmlEventsonMouseOut - the onMouseOut event.public void setOnMouseOver(String onMouseOver)
setOnMouseOver in interface IHtmlEventsonMouseOver - the onMouseOver event.public void setStyle(String style)
style - the stylepublic void setStyleClass(String styleClass)
styleClass - the style classpublic void setTitle(String title)
title - the titlepublic void setAlign(String align)
align - the horizontal alignmentpublic void setChar(String alignChar)
alignChar - the horizontal alignment characterpublic void setCharoff(String alignCharOff)
alignCharOff - public void setValign(String align)
align - the alignmentpublic void setLang(String lang)
setLang in interface IHtmlI18nlang - the languagepublic void setDir(String dir)
setDir in interface IHtmlI18ndir - the dir
public void setTagId(String tagId)
throws JspException
tagId - - the the name of the tagId for the tbody tag.
JspExceptionpublic void setRenderRow(boolean renderRow)
public void doTag()
throws IOException,
JspException
DataGridTagModel.RENDER_STATE_GRID
state in order to add table rows to the beginning of a data grid's HTML table. If the data grid is rendering
HTML row groups, this tag will output an HTML <tbody> tag. Then, if this tag is rendering
a table row, it will produce an HTML <tr> tag. Then the content of the body will be rendered. If
table row rendering is disabled, the page author is responsible for rendering the appropriate HTML
table row tags as this tag renders inside of the HTML table opened by the data grid.
doTag in interface SimpleTagdoTag in class SimpleTagSupportIOException
JspException - when the DataGridTagModel can not be found in the JspContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||