public class UnpagedListDisplayTag extends ListDisplayTagBase
DataResult
contained in its parent tag,
ListTag. In the first
iteration the ColumnTags
render the headers of the ListView, while subsequent iterations render the
data contained within the
DataResult.
The UnpagedListTag has the following optional attributes:
filterBy
renderDisabled
domainClass
title
type
transparent
The filterBy attribute specifies the column name with which
to filter the data.
The type attribute sepcifies what class the list is
transparent if set to true will make it so that the
table has no borders, and all the rows are white.
Example usage of the ListDisplayTag with no sets:
...
<rhn:unpagedlistdisplay>
<rhn:column header="l10n.jsp.messagekey">
display this value
</rhn:column>
<rhn:column header="l10n.jsp.messagekey1">
display this value too
</rhn:column>
</rhn:unpagedlistdisplay>
...
The following shows how to define a ListView with a set column.
...
<rhn:unpagedlistdisplay title="example.title"
transparent="true">
<rhn:column header="l10n.jsp.messagekey1">
display this value
</rhn:column>
</rhn:unpagedlistdisplay>
...
ColumnTag,
ListTag,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected int |
currRow |
FILTER_DISPATCH, FILTER_MAXLENGTH| Constructor and Description |
|---|
UnpagedListDisplayTag()
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createIdString(java.lang.String nId)
Creates the id-string for a given tree-node.
|
int |
doAfterBody() |
int |
doEndTag() |
int |
doStartTag() |
int |
getCurrRow()
Returns row currently being rendered
|
java.lang.String |
getNodeIdString() |
boolean |
isChild(java.lang.String s)
Returns true if the node-id-string represent a child-node
|
boolean |
isExport()
If the User requested an Export or not.
|
boolean |
isParent(java.lang.String s)
Returns true if the node-id-string represent a parent-node
|
boolean |
isTransparent() |
void |
release() |
protected void |
renderHeadExtraAddons(java.io.Writer out) |
void |
setCurrRow(int curr)
Set current row being rendered
|
void |
setTransparent(boolean booleanIn) |
protected void |
setupPageList() |
createExportWriter, getColumnCount, getExportColumns, getHiddenvars, getIterator, getNumberOfColumns, getPageList, getTitle, getType, incrColumnCount, incrNumberOfColumns, renderDisabled, renderFilterBox, renderPanelHeading, renderTitle, setColumnCount, setExportColumns, setFilterBy, setHiddenvars, setNumberOfColumns, setRenderDisabled, setTitle, setTypedoInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic boolean isTransparent()
public void setTransparent(boolean booleanIn)
booleanIn - sets transparentprotected void setupPageList()
throws javax.servlet.jsp.JspTagException
setupPageList in class ListDisplayTagBasejavax.servlet.jsp.JspTagExceptionprotected void renderHeadExtraAddons(java.io.Writer out)
throws java.io.IOException
renderHeadExtraAddons in class ListDisplayTagBasejava.io.IOExceptionpublic java.lang.String createIdString(java.lang.String nId)
nId - the node's id-stringpublic boolean isParent(java.lang.String s)
s - string of interestpublic boolean isChild(java.lang.String s)
s - string of interestpublic boolean isExport()
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doAfterBody()
throws javax.servlet.jsp.JspException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagdoAfterBody in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class ListDisplayTagBasepublic java.lang.String getNodeIdString()
public int getCurrRow()
public void setCurrRow(int curr)
curr - new current row