public class ListTag
extends javax.servlet.jsp.tagext.BodyTagSupport
| Constructor and Description |
|---|
ListTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn()
Bumps up the column count
|
void |
addDecorator(java.lang.String decName)
Adds a decorator to the parent class..
|
int |
doAfterBody()
$
|
int |
doEndTag()
$
|
int |
doStartTag()
$
|
java.lang.String |
getAlphaBarColumn() |
int |
getColumnCount()
Gets column count
|
javax.servlet.jsp.PageContext |
getContext() |
java.lang.Object |
getCurrentObject()
The current object being displayed
|
DataSetManipulator |
getManip() |
java.lang.String |
getName()
The name of the list
|
java.util.List |
getPageData()
Returns the data in use for the current page
|
int |
getPageRowCount()
Get current page row count
|
int |
getPageSize()
provides the current page size
|
java.lang.Object |
getParentObject()
The parent if this list is dealing with expandable objects
|
java.lang.String |
getRefLink() |
java.lang.String |
getRefLinkKey() |
java.lang.String |
getRefLinkKeyArg0() |
java.lang.String |
getStyleId() |
java.lang.String |
getUniqueName()
Build the list's unique name Algorithm for the unique name is: Take the
CRC value of the following string: request url + ";" + name
|
boolean |
isEmpty()
Returns
|
boolean |
isParentAnElement()
if set to true, the parent in a tree setup will
be considered as an element by itself
|
void |
release()
$
|
void |
setAlphabarcolumn(java.lang.String alphaBarColumnIn) |
void |
setDataset(java.lang.String nameIn)
Sets the name of the dataset to use Tries to locate the list in the
following order: page context, request attribute, session attribute
|
void |
setDecorator(java.lang.String nameIn)
Sets the decorator class name to use for a list
|
void |
setEmptykey(java.lang.String key)
Sets the localized message key used when the list is empty
|
void |
setFilter(java.lang.String filterIn)
Sets the filter used to filter list data
|
void |
setHidepagenums(java.lang.String value)
if set to true, the page numbers at the top and bottom of the list will not
be displayed
|
void |
setName(java.lang.String nameIn)
Stores the "name" of the list.
|
void |
setParentiselement(java.lang.String value)
if set to true, the parent in a tree setup will
be considered as an element by itself
|
void |
setReflink(java.lang.String refLinkIn) |
void |
setReflinkkey(java.lang.String refLinkKeyIn) |
void |
setReflinkkeyarg0(java.lang.String refLinkKeyArg0In) |
void |
setRowname(java.lang.String nameIn)
Name used to store the currentObject in the page
|
void |
setRowRenderer(RowRenderer newRender)
Set the row renderer
|
void |
setStyleclass(java.lang.String styleIn)
Sets the CSS style class This applies to the enclosing table tag
|
void |
setStyleId(java.lang.String styleIdIn) |
void |
setTitle(java.lang.String titleIn)
Sets the title row needed for this page
|
void |
setWidth(java.lang.String widthIn)
Total width of the table, either in px or percent
|
doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic void addDecorator(java.lang.String decName)
throws javax.servlet.jsp.JspException
decName - the name of the decoratorjavax.servlet.jsp.JspException - if the decorator can't be loaded.public void setRowRenderer(RowRenderer newRender)
newRender - the row rendererpublic void setDecorator(java.lang.String nameIn)
nameIn - decorator class namepublic void setEmptykey(java.lang.String key)
key - message keypublic void addColumn()
public boolean isEmpty()
public java.util.List getPageData()
public int getColumnCount()
public void setName(java.lang.String nameIn)
nameIn - list namepublic java.lang.String getName()
public java.lang.String getUniqueName()
public void setStyleclass(java.lang.String styleIn)
styleIn - class namepublic void setWidth(java.lang.String widthIn)
widthIn - table widthpublic void setFilter(java.lang.String filterIn)
throws javax.servlet.jsp.JspException
filterIn - name of the filter class to usejavax.servlet.jsp.JspException - error occurred creating an instance of the filterpublic void setTitle(java.lang.String titleIn)
titleIn - the title row..public int getPageRowCount()
public void setDataset(java.lang.String nameIn)
throws javax.servlet.jsp.JspException
nameIn - name of datasetjavax.servlet.jsp.JspException - indicates something went wrongpublic java.lang.Object getCurrentObject()
public java.lang.Object getParentObject()
public void setRowname(java.lang.String nameIn)
throws javax.servlet.jsp.JspException
nameIn - row namejavax.servlet.jsp.JspException - if row name is emptypublic 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 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 void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.BodyTagSupportpublic javax.servlet.jsp.PageContext getContext()
public DataSetManipulator getManip()
public void setAlphabarcolumn(java.lang.String alphaBarColumnIn)
alphaBarColumnIn - The alphaBarColumn to set.public int getPageSize()
public java.lang.String getAlphaBarColumn()
public void setHidepagenums(java.lang.String value)
value - true or falsepublic void setParentiselement(java.lang.String value)
value - true or falsepublic boolean isParentAnElement()
public java.lang.String getStyleId()
public void setStyleId(java.lang.String styleIdIn)
styleIdIn - CSS ID to set for HTML table tagpublic java.lang.String getRefLink()
public void setReflink(java.lang.String refLinkIn)
refLinkIn - the optional reference link that will be added to the last row
of the tablepublic java.lang.String getRefLinkKey()
public void setReflinkkey(java.lang.String refLinkKeyIn)
refLinkKeyIn - the key for the reference linkpublic java.lang.String getRefLinkKeyArg0()
public void setReflinkkeyarg0(java.lang.String refLinkKeyArg0In)
refLinkKeyArg0In - the optional argument that may be included in the
reference link